If I have a related socket file descriptor (either using connect or bind), enter SOCK_STREAM , can I get the remote address / IP address?
I need to do this inside a function where I have no data other than a socket file descriptor.
c ++ sockets ip-address berkeley-sockets
Nedark
source share