Joe Mason 674da8ae07 Add a polling loop in main to read from more than one socket at once. Add the O_NONBLOCK and
SO_KEEPALIVE flag to all sockets. Note that several loops which used to continue on a return value
of 0 (theoretical since 0 would never be returned without O_NONBLOCK) now break on 0 so that they
won't continue reading until after poll is called again.
2012-08-02 18:52:38 -04:00
..
2011-07-18 23:49:31 +02:00
2010-02-14 19:40:18 +00:00
2012-04-10 17:32:06 +02:00
2012-04-10 17:32:06 +02:00
2012-04-10 17:32:06 +02:00
2012-04-10 17:32:06 +02:00
2012-04-10 17:32:06 +02:00
2012-04-10 17:32:06 +02:00
2012-04-10 17:32:06 +02:00
2012-04-10 17:32:06 +02:00
2012-04-10 17:32:06 +02:00
2012-04-10 17:32:06 +02:00
2012-04-10 17:32:06 +02:00