ObjFW  Diff

Differences From Artifact [7d46692d8a]:

To Artifact [26b969d2ec]:


115
116
117
118
119
120
121





122
#else
	u_long v = enable;

	if (ioctlsocket(sock, FIONBIO, &v) == SOCKET_ERROR)
		@throw [OFSetOptionFailedException newWithClass: isa];
#endif
}





@end







>
>
>
>
>

115
116
117
118
119
120
121
122
123
124
125
126
127
#else
	u_long v = enable;

	if (ioctlsocket(sock, FIONBIO, &v) == SOCKET_ERROR)
		@throw [OFSetOptionFailedException newWithClass: isa];
#endif
}

- (int)fileDescriptor
{
	return sock;
}
@end