|
Boost Users : |
Subject: Re: [Boost-users] Boost::asio, set tcp_nodelay, bad file descriptor?
From: Igor R (boost.lists_at_[hidden])
Date: 2009-08-06 09:11:58
> 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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net