com.onlineobject.objectnet Namespace

ITransport..::..SetPort Method

Sets the port for the transport.

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

Syntax


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 (TCP/UDP/Both).