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
Is there a "native" tcpip library for turbo pascal? I know i could use lazarus and what-not to write the programs im
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).
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
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.
Re: Re: Turbo Pascal/C TCPIP Library
By: Digital Man to Pilotcab on Thu Sep 15 2022 10:34:58
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.
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?
also java is NOT javascript.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
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.
i dont do anything fancy text wise i should be good.Fancy text is not a problem, stdio, or otherwise.
Yes, the standard "drop files" contain that information. If you use a door development kit (and there are many of them),any particular one i should go get ?
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).
Re: Re: Turbo Pascal/C TCPIP Library
By: Digital Man to Charles Blackburn on Thu Sep 15 2022 17:45:45
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.
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.Fancy text is not a problem, stdio, or otherwise.
oooh curses maybe ?
Yes, the standard "drop files" contain that information. If you use a door development kit (and there are many of them),any particular one i should go get ?
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).
Sysop: | MarisaG |
---|---|
Location: | South San Francisco, CA |
Users: | 5 |
Nodes: | 10 (0 / 10) |
Uptime: | 00:55:12 |
Calls: | 123 |
Files: | 36 |
Messages: | 30,463 |