Mike Chambers
Veteran Member
- Joined
- Sep 2, 2006
- Messages
- 2,621
mike b, i know i was telling you about this one. i had apparently made an error in my tcpClose sub, where i specified a zero timeout value for the call. i was looking at the TCPDRV spec docs earlier today, and noticed it said that the handle will not close properly and may have unexpected results if i call it with a timeout of zero. what happens, is that it doesn't recycle the handle properly. soooo, once all the possible handles have been connected and then not recycled after disconnection... the server just kinda sits there being useless until i reloaded tcpdrv.
i went ahead and patched that up, and wrote a little tiny prog that has 8 ports open at once, and shows me the status of each handle in real-time as i used my laptop to connected/disconnected to them in random orders via telnet.
i had the prog forward anything typed from one telnet session to every other one, and sure enough... everything works!!! i'm happy.
this means i can finally re-write my HTTP server from scratch and actually let it handle more than one connection at a time. i'd love to make it an all-in-one HTTP/FTP server actually.
first, however... i am just going to sit down here on the XT for a few hours and code a very very basic and no-frills IRC server. when it's ready, i could post the address to it here. i'd appreciate it if you guys would all help me out bug-testing this. i'm not expecting any problems, but better safe than sorry eh?
i'd like to keep it up and running for at least 24 hours, hopefully with plenty of people logging in.
i went ahead and patched that up, and wrote a little tiny prog that has 8 ports open at once, and shows me the status of each handle in real-time as i used my laptop to connected/disconnected to them in random orders via telnet.
i had the prog forward anything typed from one telnet session to every other one, and sure enough... everything works!!! i'm happy.
this means i can finally re-write my HTTP server from scratch and actually let it handle more than one connection at a time. i'd love to make it an all-in-one HTTP/FTP server actually.
first, however... i am just going to sit down here on the XT for a few hours and code a very very basic and no-frills IRC server. when it's ready, i could post the address to it here. i'd appreciate it if you guys would all help me out bug-testing this. i'm not expecting any problems, but better safe than sorry eh?
i'd like to keep it up and running for at least 24 hours, hopefully with plenty of people logging in.