예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SocketManager"/> class.
 /// </summary>
 private SocketManager()
 {
     socketClosingThread = new SocketClosingThread();
     AppDomain.CurrentDomain.ProcessExit += (sender, eventArgs) => socketClosingThread.RunThread();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SocketManager"/> class.
 /// </summary>
 private SocketManager()
 {
     socketClosingThread = new SocketClosingThread();
 }