POEx::IRC::Backend::Role::HasEndpoint
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.
The connecting/listening socket endpoint address.
The connecting/listening socket endpoint 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.
Jon Portnoy <avenj@cobaltirc.org>
To install POEx::IRC::Backend, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POEx::IRC::Backend
CPAN shell
perl -MCPAN -e shell install POEx::IRC::Backend
For more information on module installation, please visit the detailed CPAN module installation guide.