Exemplo n.º 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();
        }
Exemplo n.º 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();
        }