Main > Programming > Libraries >

libband 0.01

libband 0.01

Sponsored Links

libband 0.01 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
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.

libband 0.01 Screenshot

Advertisements

libband 0.01 Keywords

Bookmark libband 0.01

Hyperlink code:
Link for forum:

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

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
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