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