Danga::Socket 1.56

Danga::Socket 1.56

Sponsored Links

Danga::Socket 1.56 Ranking & Summary

Ranking Click at the star to rankRanking level:
User Review: 0 (0 times) Download now
File size: 0.018 MB Platform: Any Platform License: Perl Artistic License Price: Downloads: 8655 Date added: 2007-04-16 Publisher: Danga::Socket team Publisher URL: http://search.cpan.org/~b

Danga::Socket 1.56 description

Danga::Socket is an event loop and event-driven async socket base class.

SYNOPSIS

package My::Socket
use Danga::Socket;
use base (Danga::Socket);
use fields (my_attribute);

sub new {
my My::Socket $self = shift;
$self = fields::new($self) unless ref $self;
$self->SUPER::new( @_ );

$self->{my_attribute} = 1234;
return $self;
}

sub event_err { ... }
sub event_hup { ... }
sub event_write { ... }
sub event_read { ... }
sub close { ... }

$my_sock->tcp_cork($bool);

# write returns 1 if all writes have gone through, or 0 if there
# are writes in queue
$my_sock->write($scalar);
$my_sock->write($scalarref);
$my_sock->write(sub { ... }); # run when previous data written
$my_sock->write(undef); # kick-starts

# read max $bytecount bytes, or undef on connection closed
$scalar_ref = $my_sock->read($bytecount);

# watch for writability. not needed with ->write(). write()
# will automatically turn on watch_write when you wrote too much
# and turn it off when done
$my_sock->watch_write($bool);

# watch for readability
$my_sock->watch_read($bool);

# if you read too much and want to push some back on
# readable queue. (not incredibly well-tested)
$my_sock->push_back_read($buf); # scalar or scalar ref

Danga::Socket->AddOtherFds(..);
Danga::Socket->SetLoopTimeout($millisecs);
Danga::Socket->DescriptorMap();
Danga::Socket->WatchedSockets(); # count of DescriptorMap keys
Danga::Socket->SetPostLoopCallback($code);
Danga::Socket->EventLoop();

This is an abstract base class for objects backed by a socket which provides the basic framework for event-driven asynchronous IO, designed to be fast. Danga::Socket is both a base class for objects, and an event loop.

Callers subclass Danga::Socket. Danga::Sockets constructor registers itself with the Danga::Socket event loop, and invokes callbacks on the object for readability, writability, errors, and other conditions.

Because Danga::Socket uses the "fields" module, your subclasses must too.

Download now

Danga::Socket 1.56 Screenshot

Sponsored Links
Download Danga::Socket 1.56

Danga::Socket 1.56 Keywords

Bookmark Danga::Socket 1.56

Hyperlink code:
Hyperlink and Intro code:

Danga::Socket 1.56 Copyright

WareSeeker periodically updates pricing and software information of Danga::Socket 1.56 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 Danga::Socket 1.56 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Danga::Socket 1.56 Related Software


SOHT stands for Socket over HTTP Tunneling and allows you to tunnel socket connections through an HTTP proxy.

Socket, sockaddr_in, sockaddr_un, inet_aton, inet_ntoa is a Perl module to load the C socket.h defines and structure manipulator

Socket::PassAccessRights is a Perl extension for BSD style file descriptor passing via Unix domain sockets.

gnome-socket provides a simple library for high-level network asynchronous I/O in GNOME applications.

Raw Socket Constructor provides a tool for sending packets from the console.

cprops provides standard generic data structures, socket and threading facilities in c.

CPP Socket library is a small Classlibrary for C++ that supports a easy usage of socket-programming for networking-software.

OSSP sa is an abstraction library for the Unix socket application programming interface (API).

Raw Socket Library provides a simple to use raw socket library with IPV6 support.

netscript is a multi-platform, lightweight and portable TCP/UDP socket scripting system.
Danga::Socket 1.56 Review:
Author name* :  
Author Email* :  
Comment* :  
Security code* :  
     
   
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD