Beispiel #1
0
 private void init()
 {
     Server s = new Server();
     s.getConnected += getConnected;
     s.onClose += lostConnected;
     s.receiveMsg  += receiveMsg;
     s.init();
 }
Beispiel #2
0
        static void Main(string[] args)
        {
            Server s = new Server();
            s.getConnected += getConnected;
            s.receiveMsg += receiveMsg;
            s.onClose += onClose;
            s.init();

            //s.getConnected += getConnected("");
            //Client c = new Client();
            //Thread t = new Thread(new ThreadStart(c.init));
            //t.Start();
        }
Beispiel #3
0
 static void Main()
 {
     Server s = new Server();
     s.init();
 }