public override void Close() { this.closed = true; if (this.listenSockets != null) { for (int i = 0; i < this.listenSockets.Length; i++) { if (this.listenSockets[i] != null) { this.listenSockets[i].Dispose(); } } } }