Search found 4 matches

by gnipi
2006-09-08 10:44
Forum: Other Direct Connect tools
Topic: UDP based filesharing ?
Replies: 4
Views: 3718

AFAIK, someone has (theoretically) broken SHA-1... true :) anyway, point is, tcp is not that much reliable - you can't control error tolerance so connection drops easily on saturated links. Reliable UDP (as in, automatic correction, fully transparent) should be better in most cases. I must admint t...
by gnipi
2006-09-07 17:20
Forum: Other Direct Connect tools
Topic: UDP based filesharing ?
Replies: 4
Views: 3718

UDP based filesharing ?

this library is supposed to be open-source and completely free for non-comercial use ... and it's also supposed to be the best library for gaming... it uses reliable UDP (re-transmissions implemented on packet loss) http://www.rakkarsoft.com/ I would like to see something similar in the future of di...
by gnipi
2006-09-06 14:25
Forum: Proposals
Topic: Multithreaded filehashing?
Replies: 13
Views: 9874

U know, another solution for these super large shares is an external hashing application. Sure DC can do it but it's not optimized particularily. With an external app, the user can do whatever is best for their own system. If u have 5 disks, u can fire up 5 processes. Or if ur 3 IDE channels are th...
by gnipi
2006-09-06 11:18
Forum: Programmer's Help
Topic: Socket issue
Replies: 1
Views: 2909

linux handles blocking a bit differently

setsockopt() call needed to set blocking / non-blocking sockets is different for
windows/linux. Afaik, setblocking(true) will make ::read call wait till data is available. It will not return -1 EWOULDBLOCK... search network code for checksocket() and wrap your network reads into it.