Exemple #1
0
        public ConnectionSocket(IMServer server, Socket socket)
        {
            Server = server;
            Socket = socket;
            Closed = false;

            ReciveThread = new Thread(new ThreadStart(Recive));
            ReciveThread.IsBackground = true;
            ReciveThread.Start();
        }
Exemple #2
0
        public ConnectionSocket(IMServer server, Socket socket)
        {
            Server = server;
            Socket = socket;
            Closed = false;

            ReciveThread = new Thread(new ThreadStart(Recive));
            ReciveThread.IsBackground = true;
            ReciveThread.Start();
        }