C# Class Tunez.UdpBroadcast

Afficher le fichier Open project: alanmcgovern/tunez Class Usage Examples

Méthodes publiques

Méthode Description
BeginAnnouncingAsync ( int port, CancellationToken token ) : Task

Sending an announcement every 3 seconds until the token is cancelled.

BeginListeningAsync ( CancellationToken token ) : Task
UdpBroadcast ( ) : System

Method Details

BeginAnnouncingAsync() public méthode

Sending an announcement every 3 seconds until the token is cancelled.
public BeginAnnouncingAsync ( int port, CancellationToken token ) : Task
port int
token System.Threading.CancellationToken Token.
Résultat Task

BeginListeningAsync() public méthode

public BeginListeningAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
Résultat Task

UdpBroadcast() public méthode

public UdpBroadcast ( ) : System
Résultat System