Perhaps port <= 0 would be better?