public void Dispose() { if (this.socket == null) { return; } this.socket.Close(); this.innArgs.Dispose(); this.outArgs.Dispose(); this.socket = null; }