com.onlineobject.objectnet Namespace

NetworkTransport..::..Configure Method

Configures the socket with the provided IP address, TCP port, UDP port, and idle timeout.

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

Syntax


public void Configure(

	string ip,

	ushort tcpPort,

	ushort udpPort,

	ushort idleTimeout

)

Parameters

ip
Type: String
The IP address to set for the socket.
tcpPort
Type: UInt16
The TCP port to set for the socket.
udpPort
Type: UInt16
The UDP port to set for the socket.
idleTimeout
Type: UInt16
The idle timeout to set for the socket.