예제 #1
0
        static void Main(string[] args)
        {
            myServe serving = new myServe();

            //We will start the client Loop
            serving.startConnection();
        }
예제 #2
0
 static public void readLine(myServe server)
 {
     while (true)
     {
         string s = Console.ReadLine();
         if (s.Equals("exit"))
         {
             Console.WriteLine("exit");
             server.save();
         }
     }
 }