C# Class UdpSender.Program

Afficher le fichier Open project: ProfessionalCSharp/ProfessionalCSharp6

Méthodes publiques

Méthode Description
GetIPEndPoint ( int port, string hostName, bool broadcast, string groupAddress, bool ipv6 ) : Task

Private Methods

Méthode Description
GetValueForKey ( string args, string key ) : string
Main ( string args ) : void
ParseCommandLine ( string args, int &port, string &hostname, bool &broadcast, string &groupAddress, bool &ipv6 ) : bool
Sender ( IPEndPoint endpoint, bool broadcast, string groupAddress ) : System.Threading.Tasks.Task
ShowUsage ( ) : void

Method Details

GetIPEndPoint() public static méthode

public static GetIPEndPoint ( int port, string hostName, bool broadcast, string groupAddress, bool ipv6 ) : Task
port int
hostName string
broadcast bool
groupAddress string
ipv6 bool
Résultat Task