sockets: add helpers for creating SocketAddress from a socket
Add two helper methods that, given a socket file descriptor,
can return a populated SocketAddress struct containing either
the local or remote address information.
Signed-off-by:
Daniel P. Berrange <berrange@redhat.com>
Loading
Please sign in to comment