com.onlineobject.objectnet Namespace

TransportEmbedded..::..GetPort Method

Gets the port number for the transport connection.

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

Syntax


public ushort GetPort(

	TransportPortType type

)

Parameters

type
Type: com.onlineobject.objectnet..::..TransportPortType
The type of transport port to get (defaults to both).

Return Value

The port number.