Method CreateUdpMulticastSocket
CreateUdpMulticastSocket(Int32, Int32)
Creates a new UDP socket that is a member of the SSDP multicast local admin group and binds it to the specified local port.
Declaration
public IUdpSocket CreateUdpMulticastSocket(int multicastTimeToLive, int localPort)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | multicastTimeToLive | |
System.Int32 | localPort | An integer specifying the local port to bind the socket to. |
Returns
Type | Description |
---|---|
IUdpSocket | An implementation of the IUdpSocket interface used by RSSDP components to perform socket operations. |
CreateUdpMulticastSocket(Int32, Int32)
Creates a new UDP socket that is a member of the SSDP multicast local admin group and binds it to the specified local port.
Declaration
public IUdpSocket CreateUdpMulticastSocket(int multicastTimeToLive, int localPort)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | multicastTimeToLive | |
System.Int32 | localPort | An integer specifying the local port to bind the socket to. |
Returns
Type | Description |
---|---|
IUdpSocket | An implementation of the IUdpSocket interface used by RSSDP components to perform socket operations. |
CreateUdpMulticastSocket(String, Int32, Int32)
Creates a new UDP socket that is a member of the specified multicast IP address, and binds it to the specified local port.
Declaration
public IUdpSocket CreateUdpMulticastSocket(string ipAddress, int multicastTimeToLive, int localPort)
Parameters
Type | Name | Description |
---|---|---|
System.String | ipAddress | The multicast IP address to make the socket a member of. |
System.Int32 | multicastTimeToLive | The multicase time to live value for the socket. |
System.Int32 | localPort | The number of the local port to bind to. |
Returns
Type | Description |
---|---|
IUdpSocket |
CreateUdpMulticastSocket(Int32, Int32)
Creates a new UDP socket that is a member of the SSDP multicast local admin group and binds it to the specified local port.
Declaration
public IUdpSocket CreateUdpMulticastSocket(int multicastTimeToLive, int localPort)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | multicastTimeToLive | |
System.Int32 | localPort | An integer specifying the local port to bind the socket to. |
Returns
Type | Description |
---|---|
IUdpSocket | An implementation of the IUdpSocket interface used by RSSDP components to perform socket operations. |
CreateUdpMulticastSocket(Int32, Int32)
Creates a new UDP socket that is a member of the SSDP multicast local admin group and binds it to the specified local port.
Declaration
public IUdpSocket CreateUdpMulticastSocket(int multicastTimeToLive, int localPort)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | multicastTimeToLive | |
System.Int32 | localPort | An integer specifying the local port to bind the socket to. |
Returns
Type | Description |
---|---|
IUdpSocket | An implementation of the IUdpSocket interface used by RSSDP components to perform socket operations. |