Class TcpDeviceAddress
Parses and formats the tcp://host:port addresses both TCP transports use.
public static class TcpDeviceAddress
- Inheritance
-
TcpDeviceAddress
- Inherited Members
Methods
Format(string, int)
Formats a host and port as a tcp:// address, bracketing an IPv6 host.
public static string Format(string host, int port)
Parameters
Returns
Parse(string)
Splits tcp://host:port into its host and port, or fails naming the expected form.
public static (string Host, int Port) Parse(string address)
Parameters
addressstring