On Tue, Jun 12, 2012 at 10:04 PM, Stefan Hajnoczi
wrote:
> The NetSocketState struct contains two file descriptors: an active
> connection and a listen socket for new connections. It's important that
> we clean up after ourselves so these file descriptors are initialized to
> -1 when unused. Thi
The NetSocketState struct contains two file descriptors: an active
connection and a listen socket for new connections. It's important that
we clean up after ourselves so these file descriptors are initialized to
-1 when unused. This allows makes it possible to call cleanup functions
only when the