Method CreateUdpSocket
CreateUdpSocket(Int32)
Creates a new unicast socket using the specified local port number.
Declaration
IUdpSocket CreateUdpSocket(int localPort)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | localPort | The local port to bind to. |
Returns
| Type | Description |
|---|---|
| IUdpSocket | A IUdpSocket implementation. |