Using an accepted connection as a socket (cpp-netlib)
Is it possible to get an accepted connection via cpp-netlib and use it like开发者_高级运维 a normal TCP Boost.asio
socket?
The socket_
member of boost::network::http::impl::http_async_connection
is private, but that would be the member that contains the TCP socket you're looking for, so the short answer is "no"
Direct support is not available.
May be. we need to get SOCKET handle from one library and attach it to the second library's end point(socket).
精彩评论