@@ -64,11 +64,11 @@ return [[[self alloc] init] autorelease]; } - (BOOL)_isAtEndOfStream { - return isAtEndOfStream; + return atEndOfStream; } - (size_t)_readNBytes: (size_t)length intoBuffer: (void*)buffer { @@ -76,11 +76,11 @@ if (sock == INVALID_SOCKET) @throw [OFNotConnectedException newWithClass: isa socket: self]; - if (isAtEndOfStream) { + if (atEndOfStream) { OFReadFailedException *e; e = [OFReadFailedException newWithClass: isa stream: self requestedLength: length]; @@ -97,11 +97,11 @@ @throw [OFReadFailedException newWithClass: isa stream: self requestedLength: length]; if (ret == 0) - isAtEndOfStream = YES; + atEndOfStream = YES; return ret; } - (void)_writeNBytes: (size_t)length @@ -109,11 +109,11 @@ { if (sock == INVALID_SOCKET) @throw [OFNotConnectedException newWithClass: isa socket: self]; - if (isAtEndOfStream) { + if (atEndOfStream) { OFWriteFailedException *e; e = [OFWriteFailedException newWithClass: isa stream: self requestedLength: length]; @@ -134,11 +134,11 @@ #ifdef _WIN32 - (void)setBlocking: (BOOL)enable { u_long v = enable; - isBlocking = enable; + blocking = enable; if (ioctlsocket(sock, FIONBIO, &v) == SOCKET_ERROR) @throw [OFSetOptionFailedException newWithClass: isa stream: self]; } @@ -156,11 +156,11 @@ socket: self]; close(sock); sock = INVALID_SOCKET; - isAtEndOfStream = NO; + atEndOfStream = NO; } - (void)dealloc { if (sock != INVALID_SOCKET)