Пример #1
0
        /// <summary>
        /// Nol3 requires unique socket per synch request. Use using(){} on returned Socket object
        /// </summary>
        public Socket SendRequestSynch(Nol3Request request)
        {
            var synchClient = this.GetSynchClinet();

            SendRequest(request, synchClient);

            return(synchClient);
        }
Пример #2
0
 public void SendRequest(Nol3Request request, Socket socket)
 {
     socket.Send(request.RequestLength);
     socket.Send(request.Request);
 }