Evo::Io::Socket
version 0.0229
my ($ip, $port) = $sock->io_remote; ($ip, $port) = $sock->io_local;
More frienly results than getpeername and getsockname
getpeername
getsockname
Instead of saddr return a new socket and initiate with the init method of the derived class
init
say $sock->io_reuseaddr(1)->io_reuseaddr; # 1
io_domain
io_type
io_protocol
io_reuseaddr
io_reuseport
io_nodelay
io_rcvbuf
io_sndbuf
non_blocking
alexbyk.com
This software is copyright (c) 2016 by alexbyk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Evo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Evo
CPAN shell
perl -MCPAN -e shell install Evo
For more information on module installation, please visit the detailed CPAN module installation guide.