diff options
author | Joe Mason <jmason@rim.com> | 2012-08-02 17:22:46 -0400 |
---|---|---|
committer | Joe Mason <jmason@rim.com> | 2012-08-02 18:52:38 -0400 |
commit | 674da8ae07e3780b393bd1aebb7b7f973433c29f (patch) | |
tree | 80ff66d2114e40addd453718b63104f9fd7c4ee2 /src/tool_operhlp.h | |
parent | 84490052d45bb55dd12e82b1874d7bbb2897c0d1 (diff) |
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.
Diffstat (limited to 'src/tool_operhlp.h')
0 files changed, 0 insertions, 0 deletions