void publicSend(OutputMessage message) { try { m_Socket.BeginSend(message.GetBufferArray(), 0, message.GetBufferLength(), SocketFlags.None, OnSend, m_Socket); } catch (SocketException e) { OnError(e.SocketErrorCode, e.Message); } }