Exemple #1
0
 Task RunServer()
 {
     return(Task.Run(() =>
     {
         AsyncSocketListener.StartListener(this);
     }));
 }
Exemple #2
0
 public static void Main(string[] args)
 {
     Console.WriteLine("Server started");
     Console.WriteLine("Press any key to continue.....");
     Console.ReadLine();
     AsyncSocketListener.StartListener();
     Console.ReadLine();
 }