public virtual void Write(byte[] packet) { try { if(m_socket.Connected) m_stream.Write(packet, 0, packet.Length); } catch { } }