---
name: "Net::Server::Proto::UNIX"
section: "3pm"
platform: "linux"
package: "perl-net-server"
version: "2.018-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Net::Server::Proto::UNIX"
---

# Net::Server::Proto::UNIX(3pm)

Net::Server UNIX protocol.

## NAME

Net::Server::Proto::UNIX - Net::Server UNIX protocol.

## SYNOPSIS

See Net::Server::Proto.

## DESCRIPTION

Protocol module for Net::Server.  This module implements the UNIX SOCK\_STREAM socket type.  See Net::Server::Proto.

Any sockets created during startup will be chown'ed to the user and group specified in the startup arguments.

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

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

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

  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.

## QUICK PARAMETER LIST

```
  Key               Value                    Default
  # deprecated UNIX socket parameters
  unix_type         (SOCK_STREAM|SOCK_DGRAM) SOCK_STREAM
  port              "filename"               undef
  # more recent usage
  port              "filename / UNIX"
  port              "filename / UNIXDGRAM"
```

## LICENCE

Distributed under the same terms as Net::Server
