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

NAME

POEx::IRC::Backend::Role::Connector - IRC socket connector behavior

SYNOPSIS

A Moo::Role defining some basic common attributes for listening/connecting sockets.

DESCRIPTION

This role is consumed by POEx::IRC::Backend::Connector and POEx::IRC::Backend::Listener objects; it defines some basic attributes shared by listening/connecting sockets.

This role consumes POEx::IRC::Backend::Role::HasWheel and adds the following attributes:

addr

The local address we are bound to.

port

The local port we are listening on.

set_port

Change the current port attribute.

This won't trigger any automatic Wheel changes (at this time), but it is useful when creating a listener on port 0.

protocol

The Internet protocol version for this listener (4 or 6).

ssl

Boolean value indicating whether connections should be SSLified.

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>