Interface ISsdpCommunicationsServer
Interface for a component that manages network communication (sending and receiving HTTPU messages) for the SSDP protocol.
Inherited Members
Namespace: Rssdp.Infrastructure
Assembly: cs.temp.dll.dll
Syntax
public interface ISsdpCommunicationsServer : IDisposable
Properties
Name | Description |
---|---|
DeviceNetworkType | Determines whether IPv4 or IPv5 sockets are used by this communications server. |
IsShared | Gets or sets a boolean value indicating whether or not this instance is shared amongst multiple SsdpDeviceLocatorBase and/or ISsdpDevicePublisher instances. |
UdpSendCount | The number of times the Udp message is sent. Any value less than 2 will result in one message being sent. SSDP spec recommends sending messages multiple times (not more than 3) to account for possible packet loss over UDP. |
UdpSendDelay | The delay between repeating messages (as specified in UdpSendCount). |
Methods
Name | Description |
---|---|
BeginListeningForBroadcasts() | Causes the server to begin listening for multicast messages, being SSDP search requests and notifications. |
SendMessage(Byte[], UdpEndPoint) | Sends a message to a particular address (uni or multicast) and port. |
StopListeningForBroadcasts() | Causes the server to stop listening for multicast messages, being SSDP search requests and notifications. |
StopListeningForResponses() | Stops listening for search responses on the local, unicast socket. |
Events
Name | Description |
---|---|
RequestReceived | Raised when a HTTPU request message is received by a socket (unicast or multicast). |
ResponseReceived | Raised when an HTTPU response message is received by a socket (unicast or multicast). |