The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Evo::Io::Socket

VERSION

version 0.0213

METHODS

io_local

io_remote

  my ($ip, $port) = $sock->io_remote;
  ($ip, $port) = $sock->io_local;

More frienly results than getpeername and getsockname

io_accept

Instead of saddr return a new socket and initiate with the init method of the derived class

Info

  say $sock->io_reuseaddr(1)->io_reuseaddr;    # 1

read only

  • io_domain

  • io_type

  • io_protocol

read/write

  • io_reuseaddr

  • io_reuseport

  • io_nodelay

  • io_rcvbuf

  • io_sndbuf

  • non_blocking

AUTHOR

alexbyk.com

COPYRIGHT AND LICENSE

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.