@@ -238,20 +238,20 @@ @throw [OFBindFailedException exceptionWithHost: host port: port socket: self errNo: EAFNOSUPPORT]; } -#endif - +#else closesocket(_socket); _socket = INVALID_SOCKET; host = of_socket_address_ip_string(address, &port); @throw [OFBindFailedException exceptionWithHost: host port: port socket: self errNo: EADDRNOTAVAIL]; +#endif } - (uint16_t)bindToHost: (OFString *)host port: (uint16_t)port {