Re: socket accept failures
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: socket accept failures

From: Darren New <dnew@san.rr.com>
Date: Tue May 24 2005 - 18:47:03 CEST

Darren New wrote:
> How ... baroque. I'll give it a try. Thanks for the idea!

Baroque and broken. You can't even set a readable fileevent on an accept
socket.

Anyone have any ideas what the right interface might be for indicating a
failure of an accept socket? A readable event on the accept socket
would seem to be a good start, but then an event that indicates that the
accept might work again, too, would be useful.

That is, imagine you're running a Tcl-based server, and you carry the
machine from one wireless access point to another, changing the IP
address. Do the OSes to which Tcl has been ported report this for
servers? I'm pretty sure I've seen behavior that implies they do.

-- 
   Darren New / San Diego, CA, USA (PST)
     The samba was clearly inspired
     by the margarita.
Received on Thu Sep 29 14:18:44 2005