Implementions
Static Methods
Methods
[src]
pub fn ip(self): Ip {
return (self as _TcpAddr).ip() as Ip;
}
Returns the IP address associated with this socket address.
[src]
pub fn ip(self): Ip {
return (self as _TcpAddr).ip() as Ip;
}
Returns the IP address associated with this socket address.
Returns the IP address associated with this socket address.
[src]
pub fn port(self): int {
return (self as _TcpAddr).port();
}
Returns the port number associated with this socket address.
[src]
pub fn port(self): int {
return (self as _TcpAddr).port();
}
Returns the port number associated with this socket address.
Returns the port number associated with this socket address.
[src]
pub fn set_ip(self, ip: Ip) {
(self as _TcpAddr).set_ip(ip as _Ip);
}
Changes the IP address associated with this socket address.
[src]
pub fn set_ip(self, ip: Ip) {
(self as _TcpAddr).set_ip(ip as _Ip);
}
Changes the IP address associated with this socket address.
Changes the IP address associated with this socket address.
[src]
pub fn set_port(self, port: int) {
(self as _TcpAddr).set_port(port);
}
Changes the port number associated with this socket address.
[src]
pub fn set_port(self, port: int) {
(self as _TcpAddr).set_port(port);
}
Changes the port number associated with this socket address.
Changes the port number associated with this socket address.