@@ -115,12 +115,12 @@ @throw [OFUnsupportedProtocolException newWithClass: isa URL: URL]; pool = [[OFAutoreleasePool alloc] init]; sock = [OFTCPSocket socket]; - [sock connectToService: [OFString stringWithFormat: @"%d", [URL port]] - onNode: [URL host]]; + [sock connectToHost: [URL host] + onPort: [URL port]]; @try { OFString *line; OFMutableDictionary *s_headers; OFDataArray *data;