Net::Se...o::UNIX(3)
π NAME π
Okay bestie, welcome to the Net::Se...o::UNIX(3) page in the User Contributed Perl Documentation β and it is literally serving main-character energy for Net::Server::Proto::UNIX, aka the Net::Server UNIX protocol. That's the whole NAME vibe, no cap. π
β¨ SYNOPSIS β¨
See Net::Server::Proto.
That's it. Short, iconic, zero filler. π¦
π¦ DESCRIPTION π¦
So this is a protocol module for Net::Server. It implements the UNIX SOCK_STREAM socket type. For the full protocol tea, see Net::Server::Proto. β¨
Any sockets created during startup will be chown'ed to the user and group specified in the startup arguments. Ownership handled, bestie. π«Ά
πΈ PARAMETERS πΈ
The following parameters may be specified in addition to normal command line parameters for a Net::Server. See Net::Server for more information on reading arguments. iykyk. π
π unix_type
unix_type can be either SOCK_STREAM or SOCK_DGRAM β default is SOCK_STREAM. This can also be passed on the port line (see Net::Server::Proto). π
However β and listen, bestie β this method is deprecated. π¨ If you want SOCK_STREAM, just use proto UNIX without any other arguments. If you'd like SOCK_DGRAM, use the new proto UNIXDGRAM. That's the move. π
π§ METHODS π§
πͺ NS_unix_path/NS_unix_type
In addition to the standard NS_ methods of Net::Server::Proto classes, the UNIX types also have legacy calls to NS_unix_path and NS_unix_type. Vintage but still invited to the party. π¦
Since version 2.000, NS_unix_path is simply an alias to NS_port. NS_unix_type is now redundant with NS_proto.
These methods were missing between version 2.000 and 2.003 but have been returned as legacy bridges. Welcome back, icons. π«Ά
π QUICK PARAMETER LIST π
Here's the cheat sheet, bestie β same keys, same values, same defaults, no crumbs left behind. π
π deprecated UNIX socket parameters
unix_typeβ value:(SOCK_STREAM|SOCK_DGRAM), default:SOCK_STREAM.portβ value:"filename", default:undef.
π more recent usage
portβ value:"filename / UNIX", default: (none listed).portβ value:"filename / UNIXDGRAM", default: (none listed).
π LICENCE π
Distributed under the same terms as Net::Server. That's the legal tea, short and sweet. π
mwah π β brought to you by perl v5.42.0, dated 2023-03-15. Bye bestie! π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Net-Server 2.014-bp160.1.12 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms