NAME

POEx::IRC::Backend::Role::HasEndpoint

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.

addr

The connecting/listening socket endpoint address.

port

The connecting/listening socket endpoint port.

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 and updating your Listener's state accordingly.

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>