Method CreateUdpMulticastSocket
CreateUdpMulticastSocket(Int32, Int32)
Creates a new multicast socket using the specified multicast IP address, multicast time to live and local port.
Declaration
IUdpSocket CreateUdpMulticastSocket(int multicastTimeToLive, int localPort)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | multicastTimeToLive | The multicast time to live value. Actually a maximum number of network hops for UDP packets. |
System.Int32 | localPort | The local port to bind to. |
Returns
Type | Description |
---|---|
IUdpSocket | A IUdpSocket implementation. |