예제 #1
0
 public void Reset()
 {
     if (Interlocked.Exchange(ref IsShutdown, 1) == 1)
     {
         return;
     }
     pushCancelSource?.Cancel();
     _tun.executeLwipTask(() => _socket.Abort());
 }
예제 #2
0
 public virtual void Reset()
 {
     _tun.executeLwipTask(() => _socket.Abort());
 }