Re: [Boost-users] Boost.Asio, An invalid argument was supplied.

24 Nov
2008
24 Nov
'08
2:12 p.m.
You were right, my apologies. Apparently, the problem was lying in preparing the acceptor to wait for clients. I was doing .bind() on it, but I was forgetting to do .listen(). Best regards, Steven

24 Nov
24 Nov
2:54 p.m.
New subject: Boost.Asio, An invalid argument was supplied.
Ok, so your acceptor was "unopened". Note that you can use the constructor
that creates & opens the acceptor (i.e. puts it into listening mode):
http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/reference/basic_soc...
2008/11/24 stefys
You were right, my apologies. Apparently, the problem was lying in preparing the acceptor to wait for clients. I was doing .bind() on it, but I was forgetting to do .listen().
Best regards, Steven
5934
Age (days ago)
5934
Last active (days ago)
1 comments
2 participants
participants (2)
-
Igor R
-
stefys