Class UdpClientExtensions
Represents the udp client extensions.
Inherited Members
Namespace: Platform.Protocols.Udp
Assembly: Platform.Protocols.dll
Syntax
public static class UdpClientExtensions
Fields
| Improve this Doc View SourceDefaultEncoding
The utf.
Declaration
public static readonly Encoding DefaultEncoding
Field Value
Type | Description |
---|---|
Encoding |
Methods
| Improve this Doc View SourceReceiveString(UdpClient)
Receives the string using the specified udp.
Declaration
public static string ReceiveString(this UdpClient udp)
Parameters
Type | Name | Description |
---|---|---|
UdpClient | udp | The udp.
|
Returns
Type | Description |
---|---|
String | The string
|
SendString(UdpClient, IPEndPoint, String)
Sends the string using the specified udp.
Declaration
public static int SendString(this UdpClient udp, IPEndPoint ipEndPoint, string message)
Parameters
Type | Name | Description |
---|---|---|
UdpClient | udp | The udp.
|
IPEndPoint | ipEndPoint | The ip end point.
|
String | message | The message.
|
Returns
Type | Description |
---|---|
Int32 | The int
|