C# Class Microsoft.Protocols.TestTools.StackSdk.WsDiscovery.Transport.MulticastListener

This class is used for listening multicast message.
Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Méthodes publiques

Méthode Description
MulticastListener ( string multiAddress, int port ) : System.Net

Initializes a new instance of the MulticastListener class

StartListening ( ) : void

Start the listener of multicast message

StopListening ( ) : void

Stop the listener of multicast message

Private Methods

Méthode Description
ReceiveLoop ( object obj ) : void

Receive multicast message

Method Details

MulticastListener() public méthode

Initializes a new instance of the MulticastListener class
public MulticastListener ( string multiAddress, int port ) : System.Net
multiAddress string Multicast address
port int The listening port
Résultat System.Net

StartListening() public méthode

Start the listener of multicast message
public StartListening ( ) : void
Résultat void

StopListening() public méthode

Stop the listener of multicast message
public StopListening ( ) : void
Résultat void