Retrieves the address the socket is bound to.
impl Socket {
fn get_addr(&self, buf: &'a mut [u8]) -> Result<&'a mut SockAddr, Errno>
}| Name | Description |
|---|---|
| buf | The buffer in which the address will be stored. |
Returns the address the socket is bound to.