pub fn getsockname<T: SockaddrLike>(fd: RawFd) -> Result<T>
Available on crate feature
socket
only.Expand description
Get the current address to which the socket fd
is bound.
pub fn getsockname<T: SockaddrLike>(fd: RawFd) -> Result<T>
socket
only.Get the current address to which the socket fd
is bound.