▼ |  | Unstable: May Change Without Warning

1 | Guidelines for Developing unstable Libraries
2 | Automata: Compiling State Machines
3 | Bytes
4 | Contracts
5 | Contracts for Macro Subexpressions
6 | Debugging
7 | Definitions
8 | Errors
9 | Filesystem
10 | Find
11 | Flonums
12 | Futures
13 | Functions
14 | Hash Tables
15 | Interface-Oriented Programming for Classes
16 | Lazy Require
17 | Lists
18 | Logging
19 | Macro Testing
20 | Mark Parameters
21 | Match
22 | Open place expressions
23 | Options
24 | Parameter Groups
25 | Pretty-Printing
26 | Re-Contracting Identifiers
27 | Sandbox
28 | Sequences
29 | Strings
30 | Structs
31 | Struct Printing
32 | Syntax
33 | Temporal Contracts: Explicit Contract Monitors
34 | Unix Domain Sockets
35 | 2D Syntax
36 | GUI Libraries

On this page:

unix-socket-available?
unix-socket-connect

5.3.6
top ← prev up next →

### 34`` Unix Domain Sockets

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

(require unstable/socket)

> > value

> > unix-socket-available? : boolean?

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 : path-string?

Connects to the unix domain socket associated with socket-path and returns an input port and output port for communicating with the socket.
top ← prev up next →