thank you, it works...my problem now is how to get the connection socket used by acceptor...


Da: Igor R <boost.lists@gmail.com>
A: boost-users@lists.boost.org
Inviato: Mer 2 marzo 2011, 12:50:11
Oggetto: Re: [Boost-users] boost::asio multiprocess

> int listensd=socket(....);
>
> I have to do something like this?:
>  boost::asio::ip::tcp::socket s;
>  int listen sd=s.native_type();

Sorry, I was mistaken, it's called native().
tpc::socket::native_type sd = s.native();

Certainly, native_type here is a typedef of some integral type.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users