| UdpNetworkClient Class |
Namespace: StreamCoders.Network
The UdpNetworkClient type exposes the following members.
| Name | Description | |
|---|---|---|
| UdpNetworkClient | Initializes a new instance of the UdpNetworkClient class |
| Name | Description | |
|---|---|---|
| LocalEndPoint |
Local endpoint the socket will be bound to.
| |
| RemoteEndPoint |
Remote endpoint of the socket.
|
| Name | Description | |
|---|---|---|
| Bind |
Associates socket with local endpoint.
| |
| Close |
Closes underlying socket.
| |
| FinishInit |
Finishes initialization by starting receive chain.
| |
| Send(ArraySegmentByte) |
Sends an ArraySegment to the remote endpoint.
| |
| Send(Byte) |
Sends a byte array to the remote endpoint.
| |
| Send(String) |
Sends a string to the remote endpoint.
| |
| Send(OffsetBufferByte) |
Sends an OffsetBuffer to the remote endpoint.
| |
| SimpleInit |
Calls StartInit, Bind and FinishInit in one run.
| |
| StartInit |
Starts initialization by creating underlying socket.
| |
| StartReceiveChain |
Starts the internal receive chain. This function should only be called if
FinishInit(false) was called, otherwise the receive chain is already started.
|
| Name | Description | |
|---|---|---|
| OnError |
Event for all listeners interested in OnError events.
| |
| OnReceive |
Event for all listeners interested in OnReceive events.
| |
| OnSend |
Event for all listeners interested in OnSend events.
|
| Name | Description | |
|---|---|---|
| ReceiveBufferSize |
SizeIncludingHeader of the receive buffer.
| |
| State |
The state of the client.
|
| Name | Description | |
|---|---|---|
| Copy | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) | |
| Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) |