// #pragma warning restore
        #region Implementation of ISocketEventListener
        public bool OnAccept(BaseSocket newsocket)
        {
            newsocket.RequestRead();
            return false;
        }
示例#2
0
 public bool OnAccept(BaseSocket newsocket)
 {
     AsyncSocket s = (AsyncSocket)newsocket;
     newsocket.RequestRead();
     return true;
 }
 public bool OnAccept(BaseSocket newsocket)
 {
     Assert.IsTrue(((AsyncSocket)newsocket).IsMutuallyAuthenticated);
     newsocket.RequestRead();
     return false;
 }