Method
lrs
::
socket
::
ip
::
Ipv4SockAddr
::
set_port
Sets the port of the socket address.
Syntax
impl
Ipv4SockAddr
{ fn set_port(&mut self, port: u16) -> () }
Arguments
Name
Description
port