-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
I want to access which ip I am connected to, using the Client interface. I am not doing a hostname check myself, because dns results may change after a connection is established, but I want to know the socket I am sending requests to.
You can expose the socket underneath through a get_ function (just like how std::thread provides p_thread handler in linux), then people can use it for all purposes.
Or for this specific issue, a function could be written. But I would suggest making the socket available if needed. There all sorts of system-based functions people may want to call on a socket.
Metadata
Metadata
Assignees
Labels
No labels