@@ -93,14 +93,14 @@ break; } freeaddrinfo(res0); - if (sock < 0) { - /* FIXME: Throw exception */ - return nil; - } + if (sock < 0) + @throw [OFConnectionFailedException newWithObject: self + andHost: host + andPort: port]; return self; } - bindOn: (const char*)host