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