06-10-2008 09:20 AM
06-10-2008 09:23 AM
Hi ejw,
if A is your server and you has a listener there, then you can close the listner as long as a computer is connected to it. So if B write data to A, destroy the listener. And if C try to connect to A, C get an error because the listener is not running.
Hope it helps.
Mike
06-10-2008 09:35 AM
06-10-2008 10:23 AM
06-10-2008 02:21 PM - edited 06-10-2008 02:21 PM
06-12-2008 06:51 PM
06-13-2008 08:55 AM
Corny,
That sounds like a best practice scenario so I would definitely want to look into it. But at my current understanding of TCP it is beyond me. Are there any examples you could point me towards?
As it stands right now, I have something working but under worst case scenarios when 200 ports are suddenly written to there is a huge lag caused by tripping the active listeners and closing them before I can start reading. If anyone has been down this road I would appreciate the help.