com.onlineobject.objectnet Namespace

EmbeddedTcpServer Members

The EmbeddedTcpServer type exposes the following members.

Constructors


  Name Description
Public method EmbeddedTcpServer(Int32)
Initializes the transport.
Public method EmbeddedTcpServer(IPAddress, Int32)
Initializes the transport, binding the socket to a specific IP address.

Methods


  Name Description
Public method Close
Closes an active connection.
Public method Poll
Initiates handling of any received messages.
Public method Shutdown
Closes all existing connections and stops listening for new connections.
Public method Start(UInt16)
Starts the transport and begins listening for incoming connections.
Public method Start(String, UInt16)
Starts the transport and begins listening for incoming connections.

Properties


  Name Description
Public property Address
Public property MaxPendingConnections
The maximum number of pending connections to allow at any given time.
Public property Port

Events


  Name Description
Public event Connected
Invoked when a connection is established at the transport level.
Public event DataReceived
Invoked when data is received by the transport.