Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.141.442 Times

libband 0.01

  Date Added: August 13, 2010  |  Visits: 783

libband

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 downloads)

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. Whats New in This Release: - We keep track of sockets by wrapping socket(), accept() and close(). The old fstat() mechanism has been obsoleted..

Requirements: No special requirements
Platforms: Linux
Keyword: Bandwidth Bandwidth Used Export Ld Libband Libraries Library Preload Programming Used Used By Useful Want To Wrapper You Want To
Users rating: 0/10

License: Freeware Size: 22.53 KB
LIBBAND RELATED
Automation Tools  -  iPhoto Library Browser 1.0
iPhoto Library Browser is a free Automator workflow that will give you access to your iPhoto images from within any application, without having to launch iPhoto first. iPhoto Library Browser allows you to find and browse images by...
92.16 KB  
Business  -  Han Xin Code 1.0
This software could be used for decoding Han Xin Code a new Chinese national two-dimensional barcode. You can copy the decoded result to pasteboard of your iPhone and iPod, paste it to anywhere you want. You can also send the decoded...
307.2 KB  
Games  -  HexWordHarder 1.0
A harder version of HexWord with a bigger grid and longer words. Select adjacent hexagons to form words. To win you have to select every letter on the grid. There will always be at least one solution using commonly used...
102.4 KB  
Travel  -  Save This Spot 1.2.0.0
This application allows locations to be saved via GPS or by manually entering the latitude and longitude. A name and a category can also be set for these locations. It can then be used to guide you back to the saved location with an arrow,...
1024 KB  
Programming  -  libBand 0.01
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...
20.48 KB  
Libraries  -  SR-RTP 0.1b
The SR-RTP library enables real-time streaming applications (such as streaming MPEG-4 video) to cope with packet loss, variable bandwidth, and variable delay on the Internet. It provides a means for selective retransmission of lost packets in a...
1.26 MB  
Libraries  -  LibSysCTr 0.2
LibSysCTr is a utility library that can be used to intercept system call functions on a Linux system. Process monitoring and sandboxing are just two of the potential usages of LibSysCTr. Internally the LibSysCTr library uses the ptrace(2)...
317.44 KB  
Libraries  -  C++ ResourcePool 0.99.13
ResourcePool is a C++ library which can be used to pool resources of every kind. One very interesting side effect is that it can also be used of abstraction layer by providing a unique API for different resources of similar resource types. Most...
471.04 KB  
Network Management Tools  -  ManageEngine NetFlow Analyzer 7.5.0
ManageEngine NetFlow Analyzer is a web-based bandwidth monitoring tool that collects, correlates, and analyzes NetFlow version 5,7,9 exports to show you what applications are using bandwidth, who is using them, and for how long. View in-depth...
40 B  
Libraries  -  pretendroot 0.9
Pretendroot is an LD_PRELOAD library which overrides some glibc calls, pretending you are root while doing file system operations. The main difference from Debians fakeroot is that no daemons or other processes are involved, fake ownership and...
13.31 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB