1Net::Server::Proto::UDPU(s3e)r Contributed Perl DocumentaNteito:n:Server::Proto::UDP(3)
2
3
4

NAME

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

SYNOPSIS

9       See Net::Server::Proto.
10

DESCRIPTION

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

PARAMETERS

16       The following paramaters may be specified in addition to normal command
17       line parameters for a Net::Server.  See Net::Server for more
18       information on reading arguments.
19
20       udp_recv_len
21           Specifies the number of bytes to read from the UDP connection
22           handle.  Data will be read into $self->{'server'}->{'udp_data'}.
23           Default is 4096.  See IO::Socket::INET and recv.
24
25       udp_recv_flags
26           See recv.  Default is 0.
27
28       udp_broadcast
29           Default is undef.
30

QUICK PARAMETER LIST

32         Key               Value                    Default
33
34         ## UDP protocol parameters
35         udp_recv_len      \d+                      4096
36         udp_recv_flags    \d+                      0
37         udp_broadcast     bool                     undef
38

INTERNAL METHODS

40       "object"
41           Returns an object with parameters suitable for eventual creation of
42           a IO::Socket::INET object listining on UDP.
43
44       "connect"
45           Called when actually binding the port.  Handles default parameters
46           before calling parent method.
47

LICENCE

49       Distributed under the same terms as Net::Server
50
51
52
53perl v5.26.3                      2017-08-10        Net::Server::Proto::UDP(3)
Impressum