I'm making a Linux version of DC++. 'Till now everything has been pretty smooth, you can download the hub list, connect to a hub, change the settings, etc. but now I just can't get it to download files... It seems to add them to the queue alright, but then nothing. So my question is simply is if anyone knows if the client is ready for this "out of the box" or if there is modification needed? Is there even a patch? Or am I just stupid? If there indeed are changes needed to the client part, does anyone have a rough idea of what need to be done?
The reason I ask is that I find things like this:
Code: Select all
#ifdef _WIN32
void setBlocking(bool block) throw(SocketException) {
u_long b = block ? 0 : 1;
ioctlsocket(sock, FIONBIO, &b);
}
#else
void setBlocking(bool block) throw(SocketException) {
}
#endif