Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Shortage of network connections

From: sqlab:gmx at: 12-Apr-2002 9:56

A few weeks ago I complained about problems with unsuccessful tcp/ip connections. I said, I will check this problem in greater details at the other side too. After gaining access to the host I could see, that it was mainly a problem with Rebol alone. Therefore I wrote a client test program, that does nothing but opening a socket, transfers some bytes, reads some bytes and closes the socket again. This approach done in a loop leads very soon to connection errors. But if I place a wait before the next opening, I can open, exchange messages and close the connections in abundance, even if I use "wait 0". Probably wait seems to clear or renew some conditions needed for successful tcp/ip connections under Win/NT. If I remember right, other members of the mailing list reported similar observations too. They just succeded after adding an otherwise useless wait 0. So what does "wait 0" and should the clearance of the network status not be part of the normal port handling? AR