23 Sep
2019
23 Sep
'19
midnight
Hi, I have searched the documents, but still could not clarify how to bind the socket to a local IP address, which API could I add my local IP address to it? socket.bind(boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), 12345)); ....... boost::asio::ip::tcp::resolver::query query(remoteServerIPAddress, portNumber); Thank you. Kind regards, - jh