public static void SendAccept(Accept accept, Association asc) { var stream = asc.Stream; var message = accept.Write(); asc.Logger.Log("-->" + accept); stream.Write(message, 0, message.Length); }