---
name: "X11::Protocol::Connection::UNIXSocket"
section: "3pm"
platform: "linux"
package: "perl-x11-protocol"
version: "0.56-18"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/X11::Protocol::Connection::UNIXSocket"
---

# X11::Protocol::Connection::UNIXSocket(3pm)

Perl module for IO::Socket::UNIX-based X11 connections

## NAME

X11::Protocol::Connection::UNIXSocket - Perl module for IO::Socket::UNIX-based X11 connections

## SYNOPSIS

```
  use X11::Protocol;
  use X11::Protocol::Connection::UNIXSocket;
  $conn = X11::Protocol::Connection::UNIXSocket
    ->open($host, $display_number);
  $x = X11::Protocol->new($conn);
```

## DESCRIPTION

This module is used by X11::Protocol to establish a connection and communicate with a server over a local Unix-domain socket connection, using the IO::Socket::UNIX module. The host argument is ignored.

## AUTHOR

Stephen McCamant \<SMCCAM@cpan.org\>.

## SEE ALSO

[**perl**(1)](/perl/1.md), X11::Protocol, X11::Protocol::Connection::INETSocket, X11::Protocol::Connection::Socket,  IO::Socket.
