public void BeginReceive() { try { From.BeginReceive(FromBuffer, 0, FromBuffer.Length, SocketFlags.None, OnReceive, null); } catch (Exception ex) { Logger.Process("BeginReceive", ex); Stop(From); } }