How to Limit the Bandwidth with madCodeHook ??
How to Limit the Bandwidth with madCodeHook ??
Hello, I've tried to hook all Send/Receive API as the firewall and calculate speed rate for it. But It's seem a wrong way because It run incorrectly.
Is there any idea about this ???
I'd uploaded my source code to Limit the connection bandwidth if you wish to see (copy/paste to your browser without download manager).
http://levuhoang.freeunixhost.com/BandWidthLimiter.zip
Thank you.
Is there any idea about this ???
I'd uploaded my source code to Limit the connection bandwidth if you wish to see (copy/paste to your browser without download manager).
http://levuhoang.freeunixhost.com/BandWidthLimiter.zip
Thank you.
yes madshi,
If the bandwidth is too high, buffer will be sent is very large.
If the buffer is 16kb and We wish to limit the bandwidth to 2kb/s. We MUST delay 8s before the buffer can send out.
It's not a good idea. I tried NetLimit, It run very smoothly
The buffer now is 1024bytes/s (1kb/s) not 16kb once.
So, I think that I must SPLIT the packet into smaller packet but I don't know how to do that. I tried to hook Winsock Send API and change the sending buffer size, resize the return sent variable but The Sending program is crashed.
I can not how to do next. That's interesting. Is there any one give me an idea or let's discuss about this function ???
Thank you all.
Masturbation Anime Big-Tits Asian BDSM Shy Squirt European Tanned Cartoons Tiny Face-Fucked Doggystyle Home Thai Party Beach Tall 18-year-olds Juicy Cum-Facial College-Girl Dorm Hairless Frog-Sex Vintage Beauty Mature Anal-Creampie Shemale Cum-Swapping Voyeur Spanish FFM Mistress Gloryhole Peeing Ebony Bathroom Nipples
If the bandwidth is too high, buffer will be sent is very large.
If the buffer is 16kb and We wish to limit the bandwidth to 2kb/s. We MUST delay 8s before the buffer can send out.
It's not a good idea. I tried NetLimit, It run very smoothly
The buffer now is 1024bytes/s (1kb/s) not 16kb once.
So, I think that I must SPLIT the packet into smaller packet but I don't know how to do that. I tried to hook Winsock Send API and change the sending buffer size, resize the return sent variable but The Sending program is crashed.
I can not how to do next. That's interesting. Is there any one give me an idea or let's discuss about this function ???
Thank you all.
Masturbation Anime Big-Tits Asian BDSM Shy Squirt European Tanned Cartoons Tiny Face-Fucked Doggystyle Home Thai Party Beach Tall 18-year-olds Juicy Cum-Facial College-Girl Dorm Hairless Frog-Sex Vintage Beauty Mature Anal-Creampie Shemale Cum-Swapping Voyeur Spanish FFM Mistress Gloryhole Peeing Ebony Bathroom Nipples
Last edited by LeVuHoang on Tue Dec 16, 2008 8:05 am, edited 1 time in total.