com.onlineobject.objectnet Namespace

TransportEmbedded..::..SetPort Method

Sets the port number for the transport connection.

Namespace:  com.onlineobject.objectnet.server
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 transport port to set (defaults to both).