EmbeddedTcpServer Members
The EmbeddedTcpServer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
EmbeddedTcpServer(Int32) |
Initializes the transport.
|
![]() |
EmbeddedTcpServer(IPAddress, Int32) |
Initializes the transport, binding the socket to a specific IP address.
|
Methods
Name | Description | |
---|---|---|
![]() |
Close |
Closes an active connection.
|
![]() |
Poll |
Initiates handling of any received messages.
|
![]() |
Shutdown |
Closes all existing connections and stops listening for new connections.
|
![]() |
Start(UInt16) |
Starts the transport and begins listening for incoming connections.
|
![]() |
Start(String, UInt16) |
Starts the transport and begins listening for incoming connections.
|
Properties
Name | Description | |
---|---|---|
![]() |
Address | |
![]() |
MaxPendingConnections |
The maximum number of pending connections to allow at any given time.
|
![]() |
Port |
Events
Name | Description | |
---|---|---|
![]() |
Connected |
Invoked when a connection is established at the transport level.
|
![]() |
DataReceived |
Invoked when data is received by the transport.
|