private ArrayManagedSocket BuildSocket(int index) { ArrayManagedSocket socket = new ArrayManagedSocket(this.Settings, this, index); socket.Connect(this.destination, this.Settings.ConnectTimeout); Interlocked.Increment(ref socketCount); return socket; }
private ArrayManagedSocket BuildSocket(int index) { ArrayManagedSocket socket = new ArrayManagedSocket(this.Settings, this, index); socket.Connect(this.destination, this.Settings.ConnectTimeout); Interlocked.Increment(ref socketCount); return(socket); }