1Net::Server::Proto::UDPU(s3e)r Contributed Perl DocumentaNteito:n:Server::Proto::UDP(3)
2
3
4
6 Net::Server::Proto::UDP - Net::Server UDP protocol.
7
9 See Net::Server::Proto.
10
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
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
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
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
49 Distributed under the same terms as Net::Server
50
51
52
53perl v5.34.0 2022-01-21 Net::Server::Proto::UDP(3)