On this page:
unix-socket-available?
unix-socket-connect
unix-socket-path?
6.1

31 Unix Domain Sockets

This library is unstable; compatibility will not be maintained. See Unstable: May Change Without Warning for more information.

 (require unstable/socket) package: base

A boolean value that indicates whether unix domain sockets are available and supported on the current platform. The supported platforms are Linux and Mac OS X; unix domain sockets are not supported on Windows and other Unix variants.

procedure

(unix-socket-connect socket-path)  
input-port? output-port?
  socket-path : unix-socket-path?
Connects to the unix domain socket associated with socket-path and returns an input port and output port for communicating with the socket.

procedure

(unix-socket-path? v)  boolean?

  v : any/c
Returns #t if v is a valid unix domain socket path for the current system, according to the following cases:

Otherwise, returns #f.