boost asio 庫中經過socket得到遠端的endpoint的參數(ip, port)

IP: std::string sClientIp = socket().remote_endpoint().address().to_string(); port: unsigned short uiClientPort = socket().remote_endpoint().port();
相關文章
相關標籤/搜索