diff -r 8267d5c429c4 -r 6f539dd9921c TCP/TCPListener.m --- a/TCP/TCPListener.m Sat May 24 13:26:02 2008 -0700 +++ b/TCP/TCPListener.m Thu May 29 16:40:36 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];