diff -r 8267d5c429c4 -r 6f608b552b77 TCP/TCPListener.m --- a/TCP/TCPListener.m Sat May 24 13:26:02 2008 -0700 +++ b/TCP/TCPListener.m Wed Jun 11 14:58:38 2008 -0700 @@ -129,7 +129,7 @@ if( ! _ipv4socket ) { if( error.code==EADDRINUSE && _pickAvailablePort && _port<0xFFFF ) { LogTo(BLIPVerbose,@"%@: port busy, trying %hu...",self,_port+1); - self.port++; // try the next port + self.port += 1; // try the next port } else { if( outError ) *outError = error; return [self _failedToOpen: error];