|
Boost Users : |
Subject: Re: [Boost-users] boost::asio multiprocess
From: Marco Piacentini (marcopiacenta_at_[hidden])
Date: 2011-03-03 02:59:14
thank you, it works...my problem now is how to get the connection socket used by
acceptor...
________________________________
Da: Igor R <boost.lists_at_[hidden]>
A: boost-users_at_[hidden]
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_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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