@@ -60,11 +60,11 @@ [of_stderr writeLine: @"Need a port!"]; [OFApplication terminateWithStatus: 1]; } [sock connectToHost: URL.host - port: URL.port.uInt16Value]; + port: URL.port.shortValue]; return [OFPair pairWithFirstObject: sock secondObject: sock]; }