INetworkClient Interface |
Namespace: StreamCoders.Network
The INetworkClient type exposes the following members.
Name | Description | |
---|---|---|
LocalEndPoint |
Gets or sets the local end point.
| |
RemoteEndPoint |
Gets or sets the remote end point.
|
Name | Description | |
---|---|---|
Bind |
Binds the local endpoint as the second step of the initialization procedure. This
function must be called after StartInit().
| |
Close |
Closes internal socket.
| |
FinishInit |
Finalizes the three step initialization procedure. Must be called after StartInit and
Bind.
| |
Send(ArraySegmentByte) |
Send this message.
| |
Send(OffsetBufferByte) |
Send this message.
| |
SimpleInit |
This is a helper method that combines StartInit(), Bind and FinishInit into one call.
| |
StartInit |
Starts the three step initialization procedure with constructing socket and internal
structures.
| |
StartReceiveChain |
Starts the internal receive chain. Note that the default parameter to FinishInit(= true)
|