com.onlineobject.objectnet Namespace

RelayTransportClient..::..SetPort Method

Sets the port number for the transport client.

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

Syntax


public void SetPort(

	ushort port,

	TransportPortType type

)

Parameters

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