Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Net::Server::Proto::UDP

Name Net::Server::Proto::UDP
Version
Located at /usr/share/perl5
File /usr/share/perl5/Net/Server/Proto/UDP.pm
Is Core No
Search CPAN for this module Net::Server::Proto::UDP
Documentation Net::Server::Proto::UDP
Module Details Net::Server::Proto::UDP

NAME

Net::Server::Proto::UDP - Net::Server UDP protocol.


SYNOPSIS

See the Net::Server::Proto manpage.


DESCRIPTION

Protocol module for Net::Server. This module implements the SOCK_DGRAM socket type under INET (also known as UDP). See the Net::Server::Proto manpage.


PARAMETERS

The following parameters may be specified in addition to normal command line parameters for a Net::Server. See the Net::Server manpage 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 the IO::Socket::INET manpage and recv.

udp_recv_flags
See recv. Default is 0.

udp_broadcast
Default is undef.


QUICK PARAMETER LIST

  Key               Value                    Default
  ## UDP protocol parameters
  udp_recv_len      \d+                      4096
  udp_recv_flags    \d+                      0
  udp_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

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026