NAME

Ion::Server - An Ion TCP service

VERSION

version 0.01

METHODS

start

Starts the listening socket. Optionally accepts a port number and host interface on which to listen. If left unspecified, these will be assigned by the operating system.

stop

Stops the listener and shuts down the incoming connection queue.

port

Returns the listening port of a started service.

host

Returns the host interface of a started service.

accept

Returns the next incoming connection. This method will block until a new connection is received.

OVERLOADED OPERATORS

<>

Calls "accept".

AUTHOR

Jeff Ober <sysread@fastmail.fm>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 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.