1Net::Server::Proto::UNIUXs(e3r)Contributed Perl DocumentNaetti:o:nServer::Proto::UNIX(3)
2
3
4
6 Net::Server::Proto::UNIX - Net::Server UNIX protocol.
7
9 See Net::Server::Proto.
10
12 Protocol module for Net::Server. This module implements the UNIX
13 SOCK_STREAM socket type. See Net::Server::Proto.
14
15 Any sockets created during startup will be chown'ed to the user and
16 group specified in the starup arguments.
17
19 The following paramaters may be specified in addition to normal command
20 line parameters for a Net::Server. See Net::Server for more
21 information on reading arguments.
22
23 unix_type
24 Can be either SOCK_STREAM or SOCK_DGRAM (default is SOCK_STREAM).
25 This can also be passed on the port line (see Net::Server::Proto).
26
27 However, this method is deprecated. If you want SOCK_STREAM - just
28 use proto UNIX without any other arguments. If you'd like
29 SOCK_DGRAM, use the new proto UNIXDGRAM.
30
32 NS_unix_path/NS_unix_type
33 In addition to the standard NS_ methods of Net::Server::Proto
34 classes, the UNIX types also have legacy calls to NS_unix_path and
35 NS_unix_type.
36
37 Since version 2.000, NS_unix_path is simply an alias to NS_port.
38 NS_unix_type is now redundant with NS_proto.
39
40 These methods were missing between version 2.000 and 2.003 but have
41 been returned as legacy bridges.
42
44 Key Value Default
45
46 # deprecated UNIX socket parameters
47 unix_type (SOCK_STREAM|SOCK_DGRAM) SOCK_STREAM
48 port "filename" undef
49
50 # more recent usage
51 port "filename / UNIX"
52 port "filename / UNIXDGRAM"
53
55 Distributed under the same terms as Net::Server
56
57
58
59perl v5.30.1 2020-01-30 Net::Server::Proto::UNIX(3)