fcntl in kdewin32

Carlo brandon.ml at gmail.com
Wed Apr 2 14:56:22 CEST 2008


Hi,
the fcntl function in kdewin32 is empty, since fcntl is used in
ktorrent to set the socket as non blocking(fcntl(fd, F_SETFL,
O_NONBLOCK)) i had to replace it with this code

u_long b = 1;
ioctlsocket(fd, FIONBIO, &b);

so i think that this could be added to the win32 fcntl, and maybe put
a #warning too to say that it's still not fully implemented

Carlo


More information about the Kde-windows mailing list