Creates a socket address from a sequence of bytes.
impl SockAddr {
fn from_bytes(bytes: &[u8]) -> Result<&SockAddr, Errno>
}| Name | Description |
|---|---|
| bytes | The buffer containing the address. |
This fails if the socket address contains invalid data or an address that has not been wrapped.