I wonder how much faster it would be to make the anaroch program with API calls instead of using a winsock control in it. just curious if it is some big winnings. (at leeast in the long run) :)
(Its a program that retreives a page, filtering the data it gets and then its sending back the right request to the page again gaining experience)
Quote from: ioSys on July 28, 2003, 10:27 AM
I wonder how much faster it would be to make the anaroch program with API calls instead of using a winsock control in it. just curious if it is some big winnings. (at leeast in the long run) :)
(Its a program that retreives a page, filtering the data it gets and then its sending back the right request to the page again gaining experience)
You can expect an unnoticable improvement. The overhead from using a control instead of api is magnitudes smaller than the overhead of round-trip-times.
okey thanks! then my question got an answear.
I tried a bot made by someone else. it seemed to be made in java and it was quite much faster than the one in vb....strange i think because i thougt that vb one was quite optimal.
Quote from: ioSys on July 29, 2003, 10:49 AM
okey thanks! then my question got an answear.
I tried a bot made by someone else. it seemed to be made in java and it was quite much faster than the one in vb....strange i think because i thougt that vb one was quite optimal.
Was it really faster or did it only seem faster? Perhaps it loaded urls blind instead of waiting for a response to the previous request?