libband 0.01
Sponsored Links
libband 0.01 Ranking & Summary
File size:
0.022 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
1503
Date added:
2005-09-14
Publisher:
Andrea
libband 0.01 description
LibBand is a simple library wrapper written in assembly and C (but I plan to rewrite everything in C) useful if you want to limit the bandwidth used by a program.
It simply overrides some libc functions, using the LD_PRELOAD environment variable, and puts some pauses in the program to clamp the bandwidth at the specified value, for both upload and download operations.
You just have to set UPLOAD_BAND and DOWNLOAD_BAND and run your program, for example:
export LD_PRELOAD=/replace-with-the-path/to/libband.so
export UPLOAD_BAND=1024
export DOWNLOAD_BAND=8192
ftp somewhere.com
The bandwidth must be expressed in bytes/s, and so in the above example, we want the upload band clamped at 1.0 kb/s, the download band at 8.0 kb/s.
Theres a small utility in the scripts/ directory, called lb: you can use it to set everything and start your program from a nice whiptail/dialog environment.
You need NASM to build the binary (but dont worry, a pre-assembled version is included in the package).
Just type "make" to compile, and "make install" to install the library.
Remember that $HOME/lib is the default installation directory, so you usually have to export LD_PRELOAD by using:
export LD_PRELOAD=$HOME/lib/libband.so
The "lb" script is configured to work with this path, but you may change it by editing the script itself (search for the LIBPATH variable).
Please note that at the moment libBand DOESNT WORK with multithreaded and _graphic_ applications.
Enhancements:
- We keep track of sockets by wrapping socket(), accept() and close(). The old fstat() mechanism has been obsoleted.
It simply overrides some libc functions, using the LD_PRELOAD environment variable, and puts some pauses in the program to clamp the bandwidth at the specified value, for both upload and download operations.
You just have to set UPLOAD_BAND and DOWNLOAD_BAND and run your program, for example:
export LD_PRELOAD=/replace-with-the-path/to/libband.so
export UPLOAD_BAND=1024
export DOWNLOAD_BAND=8192
ftp somewhere.com
The bandwidth must be expressed in bytes/s, and so in the above example, we want the upload band clamped at 1.0 kb/s, the download band at 8.0 kb/s.
Theres a small utility in the scripts/ directory, called lb: you can use it to set everything and start your program from a nice whiptail/dialog environment.
You need NASM to build the binary (but dont worry, a pre-assembled version is included in the package).
Just type "make" to compile, and "make install" to install the library.
Remember that $HOME/lib is the default installation directory, so you usually have to export LD_PRELOAD by using:
export LD_PRELOAD=$HOME/lib/libband.so
The "lb" script is configured to work with this path, but you may change it by editing the script itself (search for the LIBPATH variable).
Please note that at the moment libBand DOESNT WORK with multithreaded and _graphic_ applications.
Enhancements:
- We keep track of sockets by wrapping socket(), accept() and close(). The old fstat() mechanism has been obsoleted.
libband 0.01 Screenshot
libband 0.01 Keywords
PRELOAD
LD
If You Want To
used by
to limit
library wrapper
bandwidth used
libband
band
bandwidth
program
used
wrapper
libband 0.01
Libraries
Programming
Bookmark libband 0.01
libband 0.01 Copyright
WareSeeker periodically updates pricing and software information of libband 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of libband 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
bandwidth speed test
bandwidth test
if you want to know
you can dance if you want to lyrics
if you want to be happy for the rest of your life
if you want to be happy
who sings you can dance if you want to
if you want to be my friend
math kernel library wrappers
it is being used by another person or program
if you want to call me baby just go ahead now
if you want to sing out sing out
if you want to buy me flowers just go ahead now
used bikes
library wrapper module
if you want to be happy for the rest of your life never make a pretty woman your wife
if you want to rock you rock if you want to roll you roll
you can dance if you want to
Related Software
Lexi project is a dict client and vocabulary builder. Free Download
libhal++ is a C++ wrapper for libhal. Free Download
pyD20 is a combat manager for D20 or DND3e. Free Download
Audio::Ao is a Perl wrapper for the Ao audio library. Free Download
Bundle::DBWIZ is a Perl CPAN Bundle for DBWIZ. Free Download
SLOOPS - Simple, Light, Object Oriented Persistence System. Free Download
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata. Free Download
Race Timing lets you manage races by describing a race and the rules associated with it. Free Download
Latest Software
Popular Software
Favourite Software