-
Turbo Pascal/C TCPIP Library
From
Pilotcab@VERT/FBOBBS to
All on Wed Sep 14 06:25:40 2022
Hi AllãããIs there a "native" tcpip library for turbo pascal? I know i could use lazarus and what-not to write the programs im thinking of, but if they're going to be runnnig on period hardware..... why not code them with period software :DããCharlieãã---ã þ Synchronet þ The FBO BBS - bbs.thefbo.usã
-
From
fusion@VERT/CFBBS to
Pilotcab on Wed Sep 14 09:49:00 2022
On 14 Sep 2022, Pilotcab said the following...ã ã Pi> Is there a "native" tcpip library for turbo pascal? I know i could useã Pi> lazarus and what-not to write the programs im thinking of, but ifã Pi> they're going to be runnnig on period hardware..... why not code themã Pi> with period software :DããThere are a few. Depends on what you mean by native. Packet drivers for several network cards of the era are available, as well the guy who made Trumpet Winsock back in the Windows 3 days also made a socket library youãcould use. The documentation is pretty good if you know a little assembly.ãPeople seem to like mTCP as well.ããThat said DOS in general never came with that functionality so you'd be expecting a very limited group to actually configure everything to use whatãyou wrote (and nobody on Windows without VirtualBox).ãã... A social life? Where can I download that!?ãã--- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)ã * Origin: cold fusion - cfbbs.net - grand rapids, miã
-
From
Pilotcab@VERT/FBOBBS to
fusion on Wed Sep 14 15:56:13 2022
Re: Re: Turbo Pascal/C TCPIP Libraryã By: fusion to Pilotcab on Wed Sep 14 2022 09:49:00ãã Pi>> Is there a "native" tcpip library for turbo pascal? I know i could use lazarus and what-not to write the programs imãã fu> There are a few. Depends on what you mean by native. Packet drivers for several network cards of the era are available, asã fu> well the guy who made Trumpet Winsock back in the Windows 3 days also made a socket library youã fu> could use. The documentation is pretty good if you know a little assembly. People seem to like mTCP as well.ããyea i was afraid of that. i wonder if there's any way to do it with the windows tcp stack. mTCP works great on a dos machine. and iguess i'm one of those nutjobs that like running dos on period hardware :Dãã fu> That said DOS in general never came with that functionality so you'd be expecting a very limited group to actually configureã fu> everything to use what you wrote (and nobody on Windows without VirtualBox).ããi'm running synchro on a windows nt machine just cus i can :D I was wondering about writing "DOS" door. i've written a number of linux sided things, but want to cover both and i know absolutely zero java in any form :Dããcharlieãã---ã þ Synchronet þ The FBO BBS - bbs.thefbo.usã
-
From
Digital Man@VERT to
Pilotcab on Thu Sep 15 10:34:58 2022
Re: Re: Turbo Pascal/C TCPIP Libraryã By: Pilotcab to fusion on Wed Sep 14 2022 03:56 pmãã > i'm running synchro on a windows nt machine just cus i can :D I wasã > wondering about writing "DOS" door. i've written a number of linux sidedã > things, but want to cover both and i know absolutely zero java in any formã > :DããDOS doors run on Synchronet are assumed to use either COM (UART or FOSSIL) communications are stdio are are supported automatically. A DOS door running under Synchronet does not need its own TCP/IP stack or any knowledge of TCP/IP, sockets, etc.ã-- ã digital man (rob)ããThis Is Spinal Tap quote #45:ãI don't really think the end can be assessed as of itself as being the endãNorco, CA WX: 73.1øF, 64.0% humidity, 0 mph E wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
MRO@VERT/BBSESINF to
pilotcab on Thu Sep 15 17:19:11 2022
Re: Re: Turbo Pascal/C TCPIP Libraryã By: Digital Man to Pilotcab on Thu Sep 15 2022 10:34 amãã > > wondering about writing "DOS" door. i've written a number of linux sidedã > > things, but want to cover both and i know absolutely zero java in anyã > > form :Dã >ããalso java is NOT javascript.ã---ã þ Synchronet þ ::: BBSES.info - free BBS services :::ã
-
From
Charles Blackburn@VERT/FBOBBS to
Digital Man on Thu Sep 15 15:40:47 2022
Re: Re: Turbo Pascal/C TCPIP Libraryã By: Digital Man to Pilotcab on Thu Sep 15 2022 10:34:58ãã DM> DOS doors run on Synchronet are assumed to use either COM (UART or FOSSIL) communications are stdio are are supportedã DM> automatically. A DOS door running under Synchronet does not need its own TCP/IP stack or any knowledge of TCP/IP, sockets,ã DM> etc.ããoh cool.. so i can just run stdio as far as talking to the user? as long as i dont do anything fancy text wise i should be good.ããso that then begs the question (and yes i need to research more on this i know). i'm assuming the door file has the terminal type in it so that the program can tell if it's ansi capable or not?ããregardsãCharles Blackburn ãSYSOP - The F.B.O BBS ãAviation related fun @ bbs.thefbo.us IPV4 and IPV6ãDOVE-Net ãComing soon: FSX-Net, FIDO-Netãã---ã þ Synchronet þ The FBO BBS - bbs.thefbo.us - A place for aviation fun....ã
-
From
Digital Man@VERT to
Charles Blackburn on Thu Sep 15 17:45:45 2022
Re: Re: Turbo Pascal/C TCPIP Libraryã By: Charles Blackburn to Digital Man on Thu Sep 15 2022 03:40 pmãã > Re: Re: Turbo Pascal/C TCPIP Libraryã > By: Digital Man to Pilotcab on Thu Sep 15 2022 10:34:58ã >ã > DM> DOS doors run on Synchronet are assumed to use either COM (UART orã > DM> FOSSIL) communications are stdio are are supportedã > DM> automatically. A DOS door running under Synchronet does not need itsã > DM> own TCP/IP stack or any knowledge of TCP/IP, sockets,ã > DM> etc.ã >ã > oh cool.. so i can just run stdio as far as talking to the user?ããYou can, yes. But more advanced door (e.g. those that save state information to files), would be better written using COM I/O so that the door program can detect user disconnect and handle that gracefully (e.g. save state information to files). Most traditional door games, for example, are written using COM I/O.ãã > as long asã > i dont do anything fancy text wise i should be good.ããFancy text is not a problem, stdio, or otherwise.ãã > so that then begs the question (and yes i need to research more on this iã > know). i'm assuming the door file has the terminal type in it so that theã > program can tell if it's ansi capable or not?ããYes, the standard "drop files" contain that information. If you use a door development kit (and there are many of them), they handle these details for you (opening/reading the drop files, sending ANSI when appropriate, abstracting the reading and writing to the serial/COM port).ã-- ã digital man (rob)ããRush quote #53:ãHe picks up scraps of conversation, radio and radiation .. Digital ManãNorco, CA WX: 77.4øF, 56.0% humidity, 9 mph SE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
Charles Blackburn@VERT/FBOBBS to
MRO on Thu Sep 15 19:01:29 2022
Re: Re: Turbo Pascal/C TCPIP Libraryã By: MRO to pilotcab on Thu Sep 15 2022 17:19:11ãã > >> wondering about writing "DOS" door. i've written a number of linux sided things, but want to cover both and i know absolutely zero java in any form :Dã MR> also java is NOT javascript.ããsemantics... as far as i am concerned, i can't code in either :DããregardsãCharles Blackburn ãSYSOP - The F.B.O BBS ãAviation related fun @ bbs.thefbo.us IPV4 and IPV6ãDOVE-Net ãComing soon: FSX-Net, FIDO-Netãã---ã þ Synchronet þ The FBO BBS - bbs.thefbo.us - A place for aviation fun....ã
-
From
Charles Blackburn@VERT/FBOBBS to
Digital Man on Fri Sep 16 06:42:52 2022
Re: Re: Turbo Pascal/C TCPIP Libraryã By: Digital Man to Charles Blackburn on Thu Sep 15 2022 17:45:45ãã DM> You can, yes. But more advanced door (e.g. those that save state information to files), would be better written using COMã DM> I/O so that the door program can detect user disconnect and handle that gracefully (e.g. save state information to files).ã DM> Most traditional door games, for example, are written using COM I/O.ããCOM I/O would be opening uarts etc? how would that go with a telnet connection? I know in linux it's pretty much just a pipe but ??ããgot a ton to read lolãã >> i dont do anything fancy text wise i should be good.ã DM> Fancy text is not a problem, stdio, or otherwise.ããoooh curses maybe ?ãã DM> Yes, the standard "drop files" contain that information. If you use a door development kit (and there are many of them),ã DM> they handle these details for you (opening/reading the drop files, sending ANSI when appropriate, abstracting the readingã DM> and writing to the serial/COM port).ãany particular one i should go get ?ããregardsãCharles Blackburn ãSYSOP - The F.B.O BBS 21:1/221ãAviation related fun @ bbs.thefbo.us IPV4 and IPV6 ãDOVE-Net FSX-Net USENETãComing soon: FIDO-Netãã---ã þ Synchronet þ The FBO BBS - bbs.thefbo.us - A place for aviation fun....ã
-
From
Digital Man@VERT to
Charles Blackburn on Fri Sep 16 08:59:06 2022
Re: Re: Turbo Pascal/C TCPIP Libraryã By: Charles Blackburn to Digital Man on Fri Sep 16 2022 06:42 amãã > Re: Re: Turbo Pascal/C TCPIP Libraryã > By: Digital Man to Charles Blackburn on Thu Sep 15 2022 17:45:45ã >ã > DM> You can, yes. But more advanced door (e.g. those that save stateã > DM> information to files), would be better written using COMã > DM> I/O so that the door program can detect user disconnect and handle thatã > DM> gracefully (e.g. save state information to files).ã > DM> Most traditional door games, for example, are written using COM I/O.ã >ã > COM I/O would be opening uarts etc? how would that go with a telnetã > connection?ããJust fine so long as you're using Synchronet for Windows. It has a built-in virtual UART and FOSSIL driver on Windows, for just this purpose. And on Linux, sysops use DOSEMU for this purpose.ãã > I know in linux it's pretty much just a pipe but ??ããNot for a 16-bit DOS program.ãã > got a ton to read lolã >ã > >> i dont do anything fancy text wise i should be good.ã > DM> Fancy text is not a problem, stdio, or otherwise.ã >ã > oooh curses maybe ?ããPerhaps, but I don't think you'll find a curses implementation for TP.ãã > DM> Yes, the standard "drop files" contain that information. If you use aã > DM> door development kit (and there are many of them),ã > DM> they handle these details for you (opening/reading the drop files,ã > DM> sending ANSI when appropriate, abstracting the readingã > DM> and writing to the serial/COM port).ã > any particular one i should go get ?ããTry a bunch of them. OpenDoors is probably the best one for C/C++. For Pascal, I think there are a ton of options (door devkits), but 16-bit DOS or native (32-bit) is the first big fork in the road for you to decide.ã-- ã digital man (rob)ããSynchronet "Real Fact" #98:ãSynchronet v3.12a was released on December 31st of 2004 (Rob's birthday)ãNorco, CA WX: 63.6øF, 93.0% humidity, 0 mph E wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã