ObjFW  Diff

Differences From Artifact [6026b8fcfc]:

To Artifact [bc21bce60d]:


173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
}

- (void)close
{
	if (_socket == INVALID_SOCKET)
		@throw [OFNotOpenException exceptionWithObject: self];

#ifdef OF_HAVE_SOCKETS
	[self cancelAsyncRequests];
#endif

	closesocket(_socket);
	_socket = INVALID_SOCKET;

	_atEndOfStream = false;

	[super close];
}







<
<
<
<







173
174
175
176
177
178
179




180
181
182
183
184
185
186
}

- (void)close
{
	if (_socket == INVALID_SOCKET)
		@throw [OFNotOpenException exceptionWithObject: self];





	closesocket(_socket);
	_socket = INVALID_SOCKET;

	_atEndOfStream = false;

	[super close];
}