ITransport..::..SetPort Method
Sets the port for the transport.
Namespace:
com.onlineobject.objectnetAssembly: 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).