• API Documentation
Show / Hide Table of Contents
  • Rssdp
    • AggregateSsdpDeviceLocator
    • CustomHttpHeader
    • CustomHttpHeadersCollection
    • DeviceAvailableEventArgs
    • DeviceEventArgs
    • DeviceNetworkType
    • DeviceNetworkTypeExtensions
    • DeviceUnavailableEventArgs
    • DiscoveredSsdpDevice
    • ExceptionExtensions
    • ISsdpLogger
    • NullLogger
    • ServiceEventArgs
    • SocketClosedException
    • SocketFactory
    • SsdpDevice
    • SsdpDeviceExtensions
    • SsdpDeviceIcon
    • SsdpDeviceLocator
    • SsdpDevicePropertiesCollection
    • SsdpDeviceProperty
    • SsdpDevicePublisher
    • SsdpEmbeddedDevice
    • SsdpRootDevice
    • SsdpService
    • SsdpStandardsMode
    • SsdpTraceLogger
  • Rssdp.Infrastructure
    • DisposableManagedObjectBase
    • HttpParserBase<T>
    • HttpRequestParser
    • HttpResponseParser
    • ISocketFactory
    • ISsdpCommunicationsServer
    • ISsdpDeviceLocator
    • ISsdpDevicePublisher
    • IUdpSocket
    • IUpnpDeviceValidator
    • ReceivedUdpData
    • RequestReceivedEventArgs
    • ResponseReceivedEventArgs
    • SsdpCommunicationsServer
    • SsdpConstants
    • SsdpDeviceLocatorBase
    • SsdpDevicePublisherBase
    • UdpEndPoint
    • Upnp10DeviceValidator

Interface IUdpSocket

Provides a common interface across platforms for UDP sockets used by this SSDP implementation.

Inherited Members
System.IDisposable.Dispose()
Namespace: Rssdp.Infrastructure
Assembly: cs.temp.dll.dll
Syntax
public interface IUdpSocket : IDisposable

Methods

ReceiveAsync()

Waits for and returns the next UDP message sent to this socket (uni or multicast).

Declaration
Task<ReceivedUdpData> ReceiveAsync()
Returns
Type Description
System.Threading.Tasks.Task<ReceivedUdpData>

SendTo(Byte[], UdpEndPoint)

Sends a UDP message to a particular end point (uni or multicast).

Declaration
void SendTo(byte[] messageData, UdpEndPoint endPoint)
Parameters
Type Name Description
System.Byte[] messageData

The data to send.

UdpEndPoint endPoint

The UdpEndPoint providing the address and port to send to.

In This Article
Back to top Copyright (c) 2015 Troy Willmot