public CHSocketReader(Socket socket, EndCallback _endCB, CHSocket baseSocket) { endCB = _endCB; _socket = socket; parser = new CHPacketParser(baseSocket); BeginBackgroundRead(); }
public CHPacketParser(CHSocket baseSocket) { _baseSocket = baseSocket; ifcompress = baseSocket.ifCompress; }