6 Aug
2009
6 Aug
'09
1:11 p.m.
Thanks Igor. I'm trying out calling set_option in my HandleAccept function (because the socket is open by that point), does that make sense?
Yes, it should be ok. "Bad file descriptor" error usually means that some lowlevel API was called with an invalid (eg., uninitialized or already closed) socket handle.