InetDOFAddress Constructor (String)OpenDOF Object Access Library
Create an InetDOFAddress from a string representation of an Inet transport address.

Namespace: org.opendof.core.transport.inet
Assembly: dof-inet (in dof-inet.dll) Version: 7.0.0.87
Syntax

C#
public InetDOFAddress(
	string address
)

Parameters

address
Type: SystemString
The string representation of the address.
Remarks

Create an InetDOFAddress from a string representation of an Inet transport address. The address may be either IPv4 or IPv6.

Format:

            address:port OR host:port OR host/address:port.
            
Examples:
            "localhost:3567"
            "localhost/127.0.0.1:3567"
            "::1:3567"
            
Where 'address' is a hostname or InetAddress string representation. Where 'port' is a decimal number from 0 to 65535.

An attempt will be made to resolve the hostname into an InetSocketAddress.

See Also

Reference