ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent/Socket.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent/Socket.pm (file contents):
Revision 1.17 by root, Sat May 24 02:50:45 2008 UTC vs.
Revision 1.18 by root, Sat May 24 18:50:40 2008 UTC

3AnyEvent::Socket - useful IPv4 and IPv6 stuff. 3AnyEvent::Socket - useful IPv4 and IPv6 stuff.
4 4
5=head1 SYNOPSIS 5=head1 SYNOPSIS
6 6
7 use AnyEvent::Socket; 7 use AnyEvent::Socket;
8
9 tcp_connect "gameserver.deliantra.net", 13327, sub {
10 my ($fh) = @_
11 or die "gameserver.deliantra.net connect failed: $!";
12
13 # enjoy your filehandle
14 };
8 15
9=head1 DESCRIPTION 16=head1 DESCRIPTION
10 17
11This module implements various utility functions for handling internet 18This module implements various utility functions for handling internet
12protocol addresses and sockets, in an as transparent and simple way as 19protocol addresses and sockets, in an as transparent and simple way as

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines