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 32.290.033 Times

libband 0.01

  Date Added: August 13, 2010  |  Visits: 806

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  
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  -  Better String Library 7222006
Better String Library is an abstraction of a string data type which is superior to the C library char buffer string type and C++s std::string. The library is totally stand alone, portable (known to work with gcc/g++, MSVC++, Intel C++, WATCOM...
112.64 KB  
Libraries  -  Generic Game-Tree Library 2.1.4
GGTL is a library designed to make it easier to program games in C. Generic Game-Tree Library provides an AI that is able to play most 2 player strategic games. Nim, Tic-Tac-Toe, Reversi (aka Othello), Connect-4 and Chess are all examples of...
256 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
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...
3.88 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