Example #1
0
        public static void ReceiveData(long s)
        {
            CheckThread();

            lock (SyncRoot) {
                if (ultimaSocket != null && ultimaSocket.Socket == s)
                {
                    ultimaSocket.ReceiveData();
                }
                else
                {
                    throw new ArgumentException("ReceiveData requested at unmanaged socket.");
                }
            }
        }