Net::Server::Proto::UDP - Net::Server UDP protocol.
See Net::Server::Proto.
Protocol module for Net::Server. This module implements the SOCK_DGRAM socket type under INET (also known as UDP). See Net::Server::Proto.
The following parameters may be specified in addition to normal command line parameters for a Net::Server. See Net::Server for more information on reading arguments.
Specifies the number of bytes to read from the UDP connection handle. Data will be read into $self->{'server'}->{'udp_data'}. Default is 4096. See IO::Socket::INET and recv.
See recv. Default is 0.
Default is undef.
Key Value Default ## UDP protocol parameters udp_recv_len \d+ 4096 udp_recv_flags \d+ 0 udp_broadcast bool undef
object
Returns an object with parameters suitable for eventual creation of a IO::Socket::INET object listening on UDP.
connect
Called when actually binding the port. Handles default parameters before calling parent method.
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.