Main > Free Download Search >

Free http async 0.05 software for linux

http async 0.05

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2446
HTTP::Async 0.05

HTTP::Async 0.05


HTTP::Async is a Perl module that can process multiple HTTP requests in parallel without blocking. more>>
HTTP::Async is a Perl module that can process multiple HTTP requests in parallel without blocking.

SYNOPSIS

Create an object and add some requests to it:
use HTTP::Async;
my $async = HTTP::Async->new;

# create some requests and add them to the queue.
$async->add( HTTP::Request->new( GET => http://www.perl.org/ ) );
$async->add( HTTP::Request->new( GET => http://www.ecclestoad.co.uk/ ) );
and then EITHER process the responses as they come back:
while ( my $response = $async->wait_for_next_response ) {
# Do some processing with $response
}
OR do something else if there is no response ready:
while ( $async->not_empty ) {
if ( my $response = $async->next_response ) {
# deal with $response
} else {
# do something else
{
}
OR just use the async object to fetch stuff in the background and deal with the responses at the end.
# Do some long code...
for ( 1 .. 100 ) {
some_function();
$async->poke; # lets it check for incoming data.
}

while ( my $response = $async->wait_for_next_response ) {
# Do some processing with $response
}

Although using the conventional LWP::UserAgent is fast and easy it does have some drawbacks - the code execution blocks until the request has been completed and it is only possible to process one request at a time. HTTP::Async attempts to address these limitations.

It gives you a Async object that you can add requests to, and then get the requests off as they finish. The actual sending and receiving of the requests is abstracted. As soon as you add a request it is transmitted, if there are too many requests in progress at the moment they are queued. There is no concept of starting or stopping - it runs continuously.

Whilst it is waiting to receive data it returns control to the code that called it meaning that you can carry out processing whilst fetching data from the network. All without forking or threading - it is actually done using select lists.

<<less
Download (0.015MB)
Added: 2007-01-17 License: Perl Artistic License Price:
1011 downloads
Prelaunch 0.05

Prelaunch 0.05


Prelaunch is a utility for the Linux desktop which significantly decrease the time to launch programs. more>>
Prelaunch is a utility for the Linux desktop which significantly decrease the time to launch programs.

Pre- launch start the respective program during login not visible to the user. With this trick the real launch needs no time. It is written in C and GTK.

*Prelaunch will work with every desktop environment but only Gnome is supported at the moment (Adding new apps...).
<<less
Download (0.032MB)
Added: 2005-09-28 License: GPL (GNU General Public License) Price:
1489 downloads
HTTP::Browscap 0.02

HTTP::Browscap 0.02


HTTP::Browscap is a Perl module that can parse and search browscap.ini files. more>>
HTTP::Browscap is a Perl module that can parse and search browscap.ini files.

SYNOPSIS

use HTTP::Browscap;

my $capable = browscap();

if( $capable->{wap} ) {
output_WAP();
}

if( $capable->{css} > 1 ) {
# Browser can handle CSS2
}

# OO interface
my $BC = HTTP::Browscap->new( browscap.ini );

$capable = $BC->match( $ENV{HTTP_USER_AGENT} );

ABSTRACT

Browscap.ini is a file, introduced with Microsofts IIS, that lists the User-Agent strings that different browsers send, and various capabilities of those browsers. This module parses browscap.ini and allows you to find the capability definitions for a given browser.

Starting with Microsofts IIS, a browscap.ini file was used to list the capabilities of various browsers. Using the User-Agent string that a browser sends in the HTTP request, the capabilities of a browser are retrieved. If an exact match of the User-Agent string isnt found, wild-card expantion is done. If all fails, a default browser definition is used.

There are limits the usefulness of browscap.ini. It only detects if a browser has a certain capability, but not if this capability has been deactivated or if its a buggy implementation. In particular, most CSS and JavaScript implementations will make you scream.

<<less
Download (0.009MB)
Added: 2007-06-09 License: Perl Artistic License Price:
875 downloads
HTTP::Handle 0.2

HTTP::Handle 0.2


HTTP::Handle is a HTTP Class designed for streaming. more>>
HTTP::Handle is a HTTP Class designed for streaming.

SYNOPSIS

use HTTP::Handle;

my $http = HTTP::Handle->new( uri => "http://www.google.com/" );
$http->connect();

my $fd = $http->fd();

while () {
print "--> $_";
}

The HTTP::Handle module allows you to make HTTP requests and handle the data yourself. The general ideas is that you use this module to make a HTTP request and handle non-header data yourself. I needed such a feature for my mp3 player to listen to icecast streams.

HTTP::Handle->new()

Create a new HTTP::Handle object thingy.

Arguments possible:

url => "http://www.google.com/"

Sets the initial URL to connect to.

follow_redirects => [ 0 | 1 ]

Automatically follow HTTP redirects. This defaults to true (1). Set to 0 to disable this.

http_request => HASHREF

Any thing put in here will be sent as "key: value" in the http request string.

$http->connect()

Connect, send the http request, and process the response headers.

This function returns -1 on failure, undef otherwise. The reason for failure will be printed to STDERR.

$http->fd()

Get the file descriptor (socket) were using to connect.

$http->url( [ url_string ])

Get or set the URL. If a url string is passed, you will change the url that is requested. If no parameter is passed, a URI object will be returned containing the

$http->follow_redirects( [ 0 | 1 ] )

If a value is passed then you will set whether or not we will automatically follow HTTP 302 Redirects. If no value is passed, then we will return whatever the current option is.

Defaults to 1 (will follow redirects).

$http->http_request_string()

Returns a string containing the HTTP request and headers, this is used when

$http->connect() is called.

<<less
Download (0.005MB)
Added: 2006-11-16 License: Perl Artistic License Price:
1072 downloads
HTTP Grabber 1.0

HTTP Grabber 1.0


HTTP grabber can be used to see what other people on your LAN are downloading. more>>
HTTP grabber can be used to see what other people on your LAN are downloading as it saves information being sent via the HTTP protocol to disk.

Check the makefile:
if libngrep isnt in /usr/local/lib, change the LFLAGS
if you dont want httpgrabber to be installed in /usr/local/bin, change the directory in the "install" rule.

To install just run "make" and "make install"

<<less
Download (0.007MB)
Added: 2006-06-28 License: BSD License Price:
1220 downloads
HTTP Proxy Client 0.8.5

HTTP Proxy Client 0.8.5


HTTP Proxy Client is a set of libraries and scripts that provide transparent access to Internet. more>>
HTTP Proxy Client is the small set of libraries and scripts, which provides transparent access to Internet via HTTP proxy for programs, which uses TCP/IP for communication.
The list of programs includes: telnet, ftp, licq, cvs, smth else? Project implements dynamic library, that can be preloaded before program run.
The library substitutes some system calls (connect(), gethostbyaddr(), gethostbyname()), with calls, which makes TCP/IP connection through HTTP proxy. This allows client programs behind HTTP proxy work with Internet without limitations.
At the moment tested on i386 Linux, i386/sparc Solaris.
Enhancements:
- While using dotted address, applications will attempt to connect regardless DNS lookup result.
<<less
Download (0.21MB)
Added: 2005-09-13 License: GPL (GNU General Public License) Price:
1510 downloads
asyncj 1.4-02

asyncj 1.4-02


async-j is an architecture for building long-running, high-performance network servers in Java. more>>
async-j is an architecture for building long-running, high-performance network servers in Java. It is based on Javas nio library, but shields the user from nios bugs and complexities.
An object-oriented design is used for extendability and low development and maintenance costs.
Enhancements:
- Code cleanup
<<less
Download (0.064MB)
Added: 2005-09-09 License: GPL (GNU General Public License) Price:
1508 downloads
ulogipac 0.05

ulogipac 0.05


ulogipac is a powerful IP traffic accounting tool for Linux routers and hosts. more>>
ulogipac is a powerful IP traffic accounting tool for Linux routers and hosts. You can use the power of iptables rules to specify which traffic you want to account and which *not*. The size of IP packets sent to ulogipac through iptables is counted and buffered. After a configurable timeperiod you can submit the traffic information to your database servers (currently only MySQL is supported). You can specify 1 to N servers to send traffic information to.

Once ulogipac is installed you can start using it in combination with iptables rules. Normally you want to account traffic, which is routed to a linux router from one network interface to another or others (for example ppp devices terminating PPTP/PPPOE/DIALIN sessions).

<<less
Download (0.032MB)
Added: 2006-06-29 License: GPL (GNU General Public License) Price:
1212 downloads
Aften 0.05

Aften 0.05


Aften is a simple, open-source, A/52 (AC-3) audio encoder. more>>
Aften project is a simple, open-source, A/52 (AC-3) audio encoder.
Main features:
- Implemented my own wav reader
- Converted the fixed-point algorithms to floating-point
- Rearranged the methods and structures
- Added stereo rematrixing (mid/side)
- Added short block MDCT and block switching
- Added VBR encoding mode
- Added variable bandwidth
- Added more complete WAV format support
- Added support for using the alternate bit stream syntax
- Created separate library and frontend
- Added input filters
Enhancements:
- Bit allocation speedups, a compile-time choice of using floats or doubles internally, an internal restructuring of MDCT functions, and bugfixes. quality=0 is now a valid setting.
<<less
Download (0.046MB)
Added: 2006-08-22 License: GPL (GNU General Public License) Price:
1165 downloads
HTTP::DAV 0.31

HTTP::DAV 0.31


HTTP::DAV is a WebDAV client library for Perl5. more>>
HTTP::DAV is a WebDAV client library for Perl5.
SYNOPSIS
# DAV script that connects to a webserver, safely makes
# a new directory and uploads all html files in
# the /tmp directory.
use HTTP::DAV;
$d = new HTTP::DAV;
$url = "http://host.org:8080/dav/";
$d->credentials( -user=>"pcollins",-pass =>"mypass",
-url =>$url, -realm=>"DAV Realm" );
$d->open( -url=>"$url )
or die("Couldnt open $url: " .$d->message . "n");
# Make a null lock on newdir
$d->lock( -url => "$url/newdir", -timeout => "10m" )
or die "Wont put unless I can lock for 10 minutesn";
# Make a new directory
$d->mkcol( -url => "$url/newdir" )
or die "Couldnt make newdir at $urln";
# Upload multiple files to newdir.
if ( $d->put( -local => "/tmp/*.html", -url => $url ) ) {
print "successfully uploaded multiple files to $urln";
} else {
print "put failed: " . $d->message . "n";
}
$d->unlock( -url => $url );
Main features:
- Full RFC2518 method support. OPTIONS, TRACE, GET, HEAD, DELETE, PUT, COPY, MOVE, PROPFIND, PROPPATCH, LOCK, UNLOCK.
- A fully object-oriented API.
- Recursive GET and PUT for site backups and other scripted transfers.
- Transparent lock handling when performing LOCK/COPY/UNLOCK sequences.
- http and https support (https requires the Crypt::SSLeay library). See INSTALLATION.
- Basic AND Digest authentication support (Digest auth requires the MD5 library). See INSTALLATION.
- dave, a fully-functional ftp-style interface written on top of the HTTP::DAV API and bundled by default with the HTTP::DAV library. (If youve already installed HTTP::DAV, then dave will also have been installed (probably into /usr/local/bin). You can see its man page by typing "perldoc dave" or going to http://www.webdav.org/perldav/dave/.
- It is built on top of the popular LWP (Library for WWW access in Perl). This means that HTTP::DAV inherits proxy support, redirect handling, basic (and digest) authorization and many other HTTP operations. See LWP for more information.
- Popular server support. HTTP::DAV has been tested against the following servers: mod_dav, IIS5, Xythos webfile server and mydocsonline. The library is growing an impressive interoperability suite which also serves as useful "sample scripts". See "make test" and t/*.
<<less
Download (0.075MB)
Added: 2007-07-20 License: Perl Artistic License Price:
826 downloads
Gtk2::TrayManager 0.05

Gtk2::TrayManager 0.05


Gtk2::TrayManager is a Perl bindings for EggTrayManager. more>>
Gtk2::TrayManager is a Perl bindings for EggTrayManager.

SYNOPSIS

use Gtk2 -init;
use Gtk2::TrayManager;

my $screen = Gtk2::Gdk::Screen->get_default;

if (Gtk2::TrayManager->check_running($screen)) {
print STDERR "A tray manager is already running, sorry!n";
exit 256;
}

my $tray = Gtk2::TrayManager->new;
$tray->manage_screen($screen);
$tray->set_orientation(vertical);

$tray->signal_connect(tray_icon_added, sub {
# $_[1] is a Gtk2::Socket
});

$tray->signal_connect(tray_icon_removed, sub {
# $_[1] is a Gtk2::Socket
});

The EggTrayManager library is used internally by GNOME to implement the server-side of the Notification Area (or system tray) protocol. Gtk2::TrayManager allows you to create notification area applications using Gtk2-Perl.

<<less
Download (0.011MB)
Added: 2006-07-18 License: Perl Artistic License Price:
1195 downloads
Coy 0.05

Coy 0.05


Coy is a Perl module like Carp only prettier. more>>
Coy is a Perl module like Carp only prettier.

SYNOPSIS

# In your application:
# ====================

use Coy;

warn "There seems to be a problem";

die "Looks like it might be fatal";


# You can add vocab in the $HOME/.coyrc file:
# ===========================================

noun {
wookie =>
{
category => [ Sentient ],
sound => [ "roars", "grunts", "bellows" ],
act =>
{
sits => { location => Arborial },

fights => { minimum => 2,
association => "argument",
},
},
},

};

category {
Sentient =>
{
act =>
{
quarrels =>
{
associations => "argument",
location => Terrestrial,
minimum => 2,
synonyms => [qw(bickers argues)],
},
laughs =>
{
associations => "happy",
location => Terrestrial,
non_adjectival => 1,
},
},
}
};

personage "R2D2";
personage "Darth Vader";

place "Mos Eisley";
place "the Death Star";

tree "Alderaan mangrove";
fruit_tree "Wookie-oak";


# You can also select a different syllable counter via .coyrc
# ===========================================================

use Lingua::EN::Syllables::syllable;
syllable_counter "Lingua::EN::Syllables::syllable";

# or

use Lingua::EN::Syllables::syllable;
syllable_counter &Lingua::EN::Syllables::syllable;

# or

syllable_counter sub { return 1 }; # FAST BUT INACCURATE

<<less
Download (0.020MB)
Added: 2007-05-08 License: Perl Artistic License Price:
899 downloads
lns.http 0.1

lns.http 0.1


lns.http is a simple framework for writing Common LISP Web applications. more>>
lns.http is a simple framework for writing Common Lisp web applications. The project handles the incoming connections, parses HTTP headers and queries, and finally hands control over to your URL handler.

lns.http is a HTTP/1.1 compatible web server but tries to achieve compatibility with lesser (down to the informal HTTP/0.9) clients.

The lns.http web server uses lisp-network-server to take care of network handling.

This software is licensed unter the LGPL.
<<less
Download (0.017MB)
Added: 2006-12-19 License: LGPL (GNU Lesser General Public License) Price:
1046 downloads
wlan-ui 0.05

wlan-ui 0.05


wlan-ui is a very small Linux GUI tool for connecting to wireless networks. more>>
wlan-ui is a very small Linux GUI tool for connecting to wireless networks. It is written in perl, and is a basic example of using perl with Gtk and Glade.

There is also some simple process handling (forking off a process, collecting output, killing the process if cancelled).

<<less
Download (0.048MB)
Added: 2005-07-28 License: GPL (GNU General Public License) Price:
1556 downloads
Async::Group 0.3

Async::Group 0.3


Async::Group is a Perl class to deal with simultaneous asynchronous calls. more>>
Async::Group is a Perl class to deal with simultaneous asynchronous calls.

SYNOPSIS

use Async::Group ;
use strict ;

sub sub1
{
print "Dummy subroutine n";
my $dummy = shift ;
my $cb = shift ;

&$cb(1);
}

sub allDone
{
print "All done, result is ", shift ,"n" ;
}
my $a = Async::Group->new(name => aTest, test => 1) ;

$a->run(set => [ sub {⊂1( callback => sub {$a->callDone(@_)} )},
sub {⊂1( callback => sub {$a->callDone(@_)} )} ],
callback => &allDone
)

# or another way which avoids the clumsy nested subs
my $cb = $a->getCbRef();
$a->run(set => [ sub {⊂1( callback => $cb)},
sub {⊄1( callback => $cb )} ],
callback => &allDone
)

If you sometimes have to launch several asynchronous calls in parrallel and want to call one call-back function when all these calls are finished, this module may be for you.

Async::Group is a class which enables you to call several asynchronous routines. Each routine may have their own callback. When all the routine are over (i.e. all their callback were called), Async::Group will call the global callback given by the user.

Note that one Async::Group objects must be created for each group of parrallel calls. This object may be destroyed (or will vanish itself) once the global callback is called.

Note also that Async::Group does not perform any fork or other system calls. It just run the passed subroutines and keep count of the call-back functions called by the aforementionned subroutines. When all these subs are finished, it calls another call-back (passed by the user) to perform whatever function required by the user.

Using fork or threads or whatever is left to the user.

<<less
Download (0.004MB)
Added: 2007-04-12 License: Perl Artistic License Price:
925 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5