SocketAddr
case V4(SocketAddrV4)case V6(SocketAddrV6)Represents a Socket Address.
Definitions
def fromString(x: String): Option[SocketAddr]
 SourceAttempts to parse the given String x as a SocketAddr.
Returns Some(socket) if the string was successfully parsed. Otherwise returns None.
def ip(s: SocketAddr): IpAddr
 SourceReturn the IpAddr of the SocketAddr s.
def port(s: SocketAddr): Int32
 SourceReturn the port of the SocketAddr s.