<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Tor",
  "identifier" : "/documentation/Tor/OnionPortTarget/unix(path:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Tor"
    ],
    "preciseIdentifier" : "s:3Tor15OnionPortTargetO4unixyACSS_tcACmF"
  },
  "title" : "OnionPortTarget.unix(path:)"
}
-->

# OnionPortTarget.unix(path:)

Forward to a Unix domain socket on the local filesystem.

```
case unix(path: String)
```

## Parameters

`path`

Absolute filesystem path to the Unix socket.

## Discussion

Renders to Tor’s `unix:<path>` target form. The socket must
exist at the time inbound connections arrive; Tor creates no
file system entries on your behalf. Useful for integrating with
backend daemons that accept connections on a named socket only.