7 Aug
2008
7 Aug
'08
4:51 p.m.
Hi, How to get the port number and ip address of an acceptor? I tried this: boost::asio::ip::tcp::acceptor acceptor(m_IoService); boost::asio::ip::tcp::acceptor myEndPoint(m_IoService); acceptor.get_option(myEndPoint); But this does not compile, Iget a couple of errors in win_iocp_socket_service.hpp like this one: Error 8 error C2039: 'level' : is not a member of 'boost::asio::basic_socket_acceptor<Protocol>' Thanks, Jean