com.onlineobject.objectnet Namespace

ITransport..::..GetPort Method

Retrieves the currently set port number.

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

Syntax


ushort GetPort(

	TransportPortType type

)

Parameters

type
Type: com.onlineobject.objectnet..::..TransportPortType
The type of port to retrieve (TCP/UDP/Both).

Return Value

The port number.