Net::Server::Proto::UDP3pm
Net::server udp protocol.
Usage
See Net::Server::Proto.
Overview
Protocol module for Net::Server. This module implements the SOCK_DGRAM socket type under INET (also known as UDP). See Net::Server::Proto.
Parameters
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.
- udp_recv_len
-
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.
- udp_recv_flags
-
See recv. Default is 0.
- udp_broadcast
-
Default is undef.
Quick parameter list
Key Value Default## UDP protocol parametersudp_recv_len \d+ 4096udp_recv_flags \d+ 0udp_broadcast bool undef
Internal methods
- "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.
Licence
Distributed under the same terms as Net::Server
Releases
12 releases since Debian 3.1 (Sarge); the text changed 10 times.