C# Class Network.Rest.UdpRestServer

Inheritance: RestServer
Show file Open project: automaters/bonjour.net

Public Properties

Property Type Description
client System.Net.Sockets.UdpClient

Public Methods

Method Description
UdpRestServer ( IPAddress hostAddress, ushort port ) : System
UdpRestServer ( ushort port ) : System

Protected Methods

Method Description
OnStart ( ) : void

Private Methods

Method Description
IsMulticast ( IPAddress hostAddress ) : bool
ReceiveRequest ( IAsyncResult result ) : void
Reply ( IPEndPoint ep, HttpResponse response ) : void
ReplyError ( IPEndPoint ep, Exception e, HttpStatusCode code ) : void

Method Details

OnStart() protected method

protected OnStart ( ) : void
return void

UdpRestServer() public method

public UdpRestServer ( IPAddress hostAddress, ushort port ) : System
hostAddress System.Net.IPAddress
port ushort
return System

UdpRestServer() public method

public UdpRestServer ( ushort port ) : System
port ushort
return System

Property Details

client public property

public UdpClient,System.Net.Sockets client
return System.Net.Sockets.UdpClient