C# Class Network.Bonjour.MDnsClient

显示文件 Open project: automaters/bonjour.net Class Usage Examples

Public Properties

Property Type Description
EndPoint IPEndPoint

Public Methods

Method Description
CreateAndResolve ( string protocol ) : MDnsClient
MDnsClient ( IPEndPoint endpoint ) : System
Resolve ( string protocol ) : void
Send ( Message message, IPEndPoint ep ) : void
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
Treat ( byte bytes, IPEndPoint from ) : void

Private Methods

Method Description
StartReceiving ( ) : void
StartReceiving ( IAsyncResult result ) : void

Method Details

CreateAndResolve() public static method

public static CreateAndResolve ( string protocol ) : MDnsClient
protocol string
return MDnsClient

MDnsClient() public method

public MDnsClient ( IPEndPoint endpoint ) : System
endpoint IPEndPoint
return System

Resolve() public method

public Resolve ( string protocol ) : void
protocol string
return void

Send() public method

public Send ( Message message, IPEndPoint ep ) : void
message Message
ep IPEndPoint
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Treat() protected method

protected Treat ( byte bytes, IPEndPoint from ) : void
bytes byte
from IPEndPoint
return void

Property Details

EndPoint public_oe static_oe property

public static IPEndPoint EndPoint
return IPEndPoint