cl-unix-sockets

2024-10-12

UNIX Domain socket

Upstream URL

github.com/tdrhq/cl-unix-sockets

Author

Arnold Noronha <arnold@tdrhq.com>

License

Apache License, Version 2.0
README

tdrhq

UNIX socket support for Common Lisp

Most major Lisp implementations don't come with any in-built support for UNIX sockets. This is a simple library that provides a reasonable implementation using FFI.

At the moment I'm prioritizing stability over performance (so for instance I don't have stream-read-sequence implemented). In the future, we'll add those tweaks.

The biggest issue with using FFI, is making sure all the FFI calls are interruptible. This interruptible IO is currently only supported on Lispworks, where we use Lispworks' native socket stack as much as possible. In theory this should be doable on at least SBCL too.

Author

Arnold Noronha arnold@tdrhq.com

Dependencies (10)

  • cffi
  • cl-fad
  • fiveam
  • flexi-streams
  • log4cl
  • tmpdir
  • trivial-garbage
  • trivial-gray-streams
  • trivial-timeout
  • uffi

Dependents (0)

    • GitHub
    • Quicklisp