Subj : Re: Turbo Pascal/C TCPIP Library
To   : Charles Blackburn
From : Digital Man
Date : Thu Sep 15 2022 05:45 pm

 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