Net::Server::Proto::TCP - Net::Server TCP protocol.
See Net::Server::Proto.
Protocol module for Net::Server. This module implements the SOCK_STREAM socket type under INET (also known as TCP). See Net::Server::Proto.
There are no additional parameters that can be specified. See Net::Server for more information on reading arguments.
object
Returns an object with parameters suitable for eventual creation of a IO::Socket::INET object listening on UDP.
log_connect
Called before binding the socket to provide useful information to the logs.
connect
Called when actually binding the port. Handles default parameters before calling parent method.
reconnect
Called instead of connect method during a server hup.
accept
Override of the parent class to make sure necessary parameters are passed down to client sockets.
poll_cb
Allow for psgi compatible interface during HTTP server.
read_until
Takes a regular expression, reads from the socket until the regular expression is matched.
hup_string
Returns a unique identifier that can be passed to the re-exec'ed process during HUP.
show
Basic dumper of properties stored in the glob.
AUTOLOAD
Handle accessor methods.
Distributed under the same terms as Net::Server
To install Net::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Server
CPAN shell
perl -MCPAN -e shell install Net::Server
For more information on module installation, please visit the detailed CPAN module installation guide.