
27 Jan
2010
27 Jan
'10
4:31 p.m.
hi for the fast answer, i have other question respect to this, what about if i wanna a function return the socket descriptor value? what must be the type of value retuned? an int value?
You mean the low-level socket descriptor, which can be used in recv/send etc.? asio::ip::tcp::socket::native_type socketDescriptor(asio::ip::tcp::socket &socket) { return socket.native(); }