- OVERLOADED OPERATORS
- COPYRIGHT AND LICENSE
Ion::Conn - An Ion TCP socket connection
Returns the peer host IP.
Returns the peer port.
Connects to the remote host unless already connected.
Writes data to the socket. The line is automatically appended with the value of
Returns the next line of data received on the socket. This method will cede control of the thread until a complete line is available. The value will have already been chomped to remove the line terminator (
Closes the socket. After calling this method, the connection object may not be reopened.
Adds a subroutine to process outgoing messages to this client. Encoder subs are applied in the order in which they are added.
Adds a subroutine to decode incoming messages from this client. Decoder subs are applied in the order in which they are added.
Jeff Ober <email@example.com>
This software is copyright (c) 2018 by Jeff Ober.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.