Some wrapper functions for Unix domain sockets (UDS)
Some wrapper functions for Unix domain sockets (UDS)
(close s)
Closes the socket channel, if non nil
Closes the socket channel, if non `nil`
(connect-socket addr)
Opens a client socket on addr
Opens a client socket on `addr`
(delete-address path)
Deletes the socket file at path
.
Deletes the socket file at `path`.
(listen-socket addr)
Creates a listening socket that binds to addr
Creates a listening socket that binds to `addr`
(make-address path)
Creates a UDS address at given path. The file must not exist yet.
Creates a UDS address at given path. The file must not exist yet.
(open-socket addr)
Creates a client socket that binds to addr
.
Creates a client socket that binds to `addr`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close