C# Class Tunez.UdpBroadcast

ファイルを表示 Open project: alanmcgovern/tunez Class Usage Examples

Public Methods

Method 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 method

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.
return Task

BeginListeningAsync() public method

public BeginListeningAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
return Task

UdpBroadcast() public method

public UdpBroadcast ( ) : System
return System