[Net::Server::Proto::UDP]

Details


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 paramaters 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.


QUICK PARAMETER LIST

  Key               Value                    Default
  ## UDP protocol parameters
  udp_recv_len      \d+                      4096
  udp_recv_flags    \d+                      0
  udp_broadcast     bool                     undef


LICENCE

Distributed under the same terms as Net::Server

This page has been viewed times.