com.onlineobject.objectnet Namespace

RelayTransportClient..::..GetPort Method

Retrieves the port number used by the transport client.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public ushort GetPort(

	TransportPortType type

)

Parameters

type
Type: com.onlineobject.objectnet..::..TransportPortType
The type of port to retrieve (default is both).

Return Value

The port number.