Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Asio, An invalid argument was supplied.
From: Igor R (boost.lists_at_[hidden])
Date: 2008-11-24 09:54:26


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_socket_acceptor/basic_socket_acceptor/overload3.html

2008/11/24 stefys <stefys_at_[hidden]>

> 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
>



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