@@ -80,11 +80,11 @@ if (sock == INVALID_SOCKET) @throw [OFNotConnectedException newWithClass: isa]; if ((ret = send(sock, buf, size, 0)) == -1) @throw [OFWriteFailedException newWithClass: isa - andSize: size]; + size: size]; /* This is safe, as we already checked for -1 */ return ret; } @@ -124,46 +124,46 @@ - connectToService: (OFString*)service onNode: (OFString*)node { @throw [OFNotImplementedException newWithClass: isa - andSelector: _cmd]; + selector: _cmd]; } - bindService: (OFString*)service onNode: (OFString*)node withFamily: (int)family { @throw [OFNotImplementedException newWithClass: isa - andSelector: _cmd]; + selector: _cmd]; } - listenWithBackLog: (int)backlog { @throw [OFNotImplementedException newWithClass: isa - andSelector: _cmd]; + selector: _cmd]; } - listen { @throw [OFNotImplementedException newWithClass: isa - andSelector: _cmd]; + selector: _cmd]; } - (OFSocket*)accept { @throw [OFNotImplementedException newWithClass: isa - andSelector: _cmd]; + selector: _cmd]; } - enableKeepAlives: (BOOL)enable { @throw [OFNotImplementedException newWithClass: isa - andSelector: _cmd]; + selector: _cmd]; } - close { @throw [OFNotImplementedException newWithClass: isa - andSelector: _cmd]; + selector: _cmd]; } @end