|
Boost Users : |
Subject: [Boost-users] [ASIO] Newbie; How can I access remote_endpoint data in an SSL server
From: May James (James.May_at_[hidden])
Date: 2009-02-18 12:25:38
Can anybody help a boost::newbie
I have generated an ASIO SSL server based on the sample code
"server.cpp"
How can I determine the Client Address from the ssl_socket which is
defined as
typedef boost::asio::ssl::stream<boost::asio::ip::tcp::socket>
ssl_socket;
relevant code is:
acceptor_.async_accept(new_session->socket(),
boost::bind(&server::handle_accept, this, new_session,
boost::asio::placeholders::error));
Thank You
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