示例#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();
 }