This is the cl-async Reference Manual, version 0.6.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:40:15 2024 GMT+0.
cl-async/cl-async.asd
cl-async/src/package.lisp
cl-async/src/event-loop.lisp
cl-async/src/event.lisp
cl-async/src/dns.lisp
cl-async/src/streamish.lisp
cl-async/src/async-stream.lisp
cl-async/src/socket.lisp
cl-async/src/tcp.lisp
cl-async/src/filesystem.lisp
cl-async/src/pipe.lisp
cl-async/src/signal.lisp
cl-async/src/notify.lisp
cl-async/src/poll.lisp
cl-async/src/idle.lisp
cl-async/src/process.lisp
cl-async/src/fsevent.lisp
cl-async-base/src/base.lisp
cl-async-util/src/util/package.lisp
cl-async-util/src/util/helpers.lisp
cl-async-util/src/util/foreign.lisp
cl-async-util/src/util/error.lisp
The main system appears first, followed by any subsystem dependency.
cl-async
Asynchronous operations for Common Lisp.
Andrew Danger Lyon <orthecreedence@gmail.com>
MIT
0.6.1
cffi
(system).
trivial-features
(system).
static-vectors
(system).
cl-libuv
(system).
cl-async-base
(system).
cl-async-util
(system).
babel
(system).
cl-ppcre
(system).
trivial-gray-streams
(system).
uiop
(system).
src
(module).
cl-async-base
Base system for cl-async.
Andrew Danger Lyon <orthecreedence@gmail.com>
MIT
0.6.1
cffi
(system).
cl-libuv
(system).
bordeaux-threads
(system).
src/base.lisp
(file).
cl-async-util
Internal utilities for cl-async.
Andrew Danger Lyon <orthecreedence@gmail.com>
MIT
0.6.1
cffi
(system).
fast-io
(system).
vom
(system).
cl-libuv
(system).
cl-ppcre
(system).
cl-async-base
(system).
src/util/package.lisp
(file).
src/util/helpers.lisp
(file).
src/util/foreign.lisp
(file).
src/util/error.lisp
(file).
Modules are listed depth-first from the system components tree.
cl-async/src
cl-async
(system).
package.lisp
(file).
event-loop.lisp
(file).
event.lisp
(file).
dns.lisp
(file).
streamish.lisp
(file).
async-stream.lisp
(file).
socket.lisp
(file).
tcp.lisp
(file).
filesystem.lisp
(file).
pipe.lisp
(file).
signal.lisp
(file).
notify.lisp
(file).
poll.lisp
(file).
idle.lisp
(file).
process.lisp
(file).
fsevent.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-async/cl-async.asd
cl-async/src/package.lisp
cl-async/src/event-loop.lisp
cl-async/src/event.lisp
cl-async/src/dns.lisp
cl-async/src/streamish.lisp
cl-async/src/async-stream.lisp
cl-async/src/socket.lisp
cl-async/src/tcp.lisp
cl-async/src/filesystem.lisp
cl-async/src/pipe.lisp
cl-async/src/signal.lisp
cl-async/src/notify.lisp
cl-async/src/poll.lisp
cl-async/src/idle.lisp
cl-async/src/process.lisp
cl-async/src/fsevent.lisp
cl-async-base/src/base.lisp
cl-async-util/src/util/package.lisp
cl-async-util/src/util/helpers.lisp
cl-async-util/src/util/foreign.lisp
cl-async-util/src/util/error.lisp
cl-async/src/event-loop.lisp
package.lisp
(file).
src
(module).
add-event-loop-exit-callback
(function).
dump-event-loop-status
(function).
exit-event-loop
(function).
ref
(generic function).
start-event-loop
(function).
stats
(function).
unref
(generic function).
with-event-loop
(macro).
*event-base-registry*
(special variable).
*event-base-registry-lock*
(special variable).
*loop-close-iters*
(special variable).
check-event-loop-running
(function).
do-close-loop
(function).
handle-cleanup
(generic function).
loop-exit-walk-cb
(function).
process-event-loop-exit-callbacks
(function).
walk-cb
(function).
cl-async/src/event.lisp
package.lisp
(file).
src
(module).
add-event
(function).
delay
(function).
event
(class).
event-c
(reader method).
(setf event-c)
(writer method).
event-freed
(reader method).
(setf event-freed)
(writer method).
event-freed
(condition).
event-freed-p
(reader method).
free-event
(function).
interval
(function).
make-event
(function).
ref
(method).
remove-event
(function).
remove-interval
(function).
unref
(method).
with-delay
(macro).
with-interval
(macro).
check-event-unfreed
(function).
event-freed-event
(reader method).
(setf event-freed-event)
(writer method).
handle-cleanup
(method).
timer-cb
(function).
timer-close-cb
(function).
cl-async/src/dns.lisp
package.lisp
(file).
streamish.lisp
(file).
src
(module).
dns-error
(condition).
dns-lookup
(function).
reverse-dns-lookup
(function).
dns-cb
(function).
errno-event
(method).
reverse-dns-cb
(function).
cl-async/src/streamish.lisp
event-loop.lisp
(file).
event.lisp
(file).
src
(module).
check-streamish-open
(function).
close-streamish
(generic function).
streamish
(generic function).
(setf streamish)
(writer method).
streamish
(class).
streamish-broken-pipe
(condition).
streamish-canceled
(condition).
streamish-closed
(reader method).
(setf streamish-closed)
(writer method).
streamish-closed
(condition).
streamish-closed-p
(function).
streamish-enoent
(condition).
streamish-eof
(condition).
streamish-error
(condition).
streamish-info
(condition).
streamish-write
(generic function).
tcp-socket
(reader method).
(setf tcp-socket)
(writer method).
do-close-streamish
(function).
errno-event
(generic function).
event-handler
(function).
streamish-alloc-cb
(function).
streamish-c
(reader method).
(setf streamish-c)
(writer method).
streamish-close-cb
(function).
streamish-convert-data
(function).
streamish-data
(reader method).
(setf streamish-data)
(writer method).
streamish-drain-read-buffer
(reader method).
(setf streamish-drain-read-buffer)
(writer method).
streamish-read-cb
(function).
streamish-read-start
(function).
streamish-shutdown-cb
(function).
streamish-write-cb
(function).
write-to-uvstream
(function).
cl-async/src/async-stream.lisp
streamish.lisp
(file).
src
(module).
async-input-stream
(class).
async-io-stream
(class).
async-output-stream
(class).
async-stream
(class).
close
(method).
open-stream-p
(method).
stream-clear-input
(method).
stream-clear-output
(method).
stream-element-type
(method).
stream-finish-output
(method).
stream-force-output
(method).
stream-read-byte
(method).
stream-read-sequence
(method).
stream-socket
(function).
stream-write-byte
(method).
stream-write-sequence
(method).
streamish
(reader method).
(setf streamish)
(writer method).
send-buffered-data
(method).
stream-append-bytes
(method).
stream-buffer
(reader method).
(setf stream-buffer)
(writer method).
stream-output-type
(method).
cl-async/src/socket.lisp
streamish.lisp
(file).
async-stream.lisp
(file).
src
(module).
close-socket
(function).
close-socket-server
(generic function).
close-streamish
(method).
disable-socket
(function).
enable-socket
(function).
initialize-instance
(method).
initialize-instance
(method).
set-socket-timeouts
(function).
socket
(method).
socket
(reader method).
(setf socket)
(writer method).
socket
(class).
socket-aborted
(condition).
socket-accept-error
(condition).
socket-accept-error-listener
(reader method).
(setf socket-accept-error-listener)
(writer method).
socket-address-in-use
(condition).
socket-c
(reader method).
(setf socket-c)
(writer method).
socket-closed
(reader method).
(setf socket-closed)
(writer method).
socket-closed
(condition).
socket-closed-p
(function).
socket-data
(reader method).
(setf socket-data)
(writer method).
socket-eof
(condition).
socket-error
(condition).
socket-info
(condition).
socket-refused
(condition).
socket-reset
(condition).
socket-timeout
(condition).
streamish-write
(method).
write-socket-data
(function).
check-socket-open
(function).
errno-event
(method).
errno-event
(method).
errno-event
(method).
errno-event
(method).
errno-event
(method).
errno-event
(method).
handle-cleanup
(method).
init-client-socket
(function).
init-incoming-socket
(function).
make-socket-handle
(generic function).
server-socket-class
(generic function).
socket-accept-cb
(function).
socket-accept-error-server
(reader method).
(setf socket-accept-error-server)
(writer method).
socket-address
(reader method).
(setf socket-address)
(writer method).
socket-buffer
(reader method).
(setf socket-buffer)
(writer method).
socket-buffering-p
(reader method).
(setf socket-buffering-p)
(writer method).
socket-connect-cb
(function).
socket-connected
(reader method).
(setf socket-connected)
(writer method).
socket-drain-read-buffer
(reader method).
(setf socket-drain-read-buffer)
(writer method).
socket-server
(function).
socket-server
(class).
socket-server-bind
(generic function).
socket-server-c
(reader method).
(setf socket-server-c)
(writer method).
socket-server-closed
(reader method).
(setf socket-server-closed)
(writer method).
socket-server-stream
(reader method).
(setf socket-server-stream)
(writer method).
write-pending-socket-data
(generic function).
cl-async/src/tcp.lisp
dns.lisp
(file).
socket.lisp
(file).
src
(module).
close-streamish
(method).
close-tcp-server
(function).
connect-tcp-socket
(function).
initialize-instance
(method).
tcp-accept-error
(condition).
tcp-connect
(function).
tcp-eof
(condition).
tcp-error
(condition).
tcp-info
(condition).
tcp-refused
(condition).
tcp-reset
(condition).
tcp-server
(function).
tcp-server
(class).
tcp-server-bind-error
(condition).
tcp-socket
(class).
tcp-timeout
(condition).
handle-cleanup
(method).
make-socket-handle
(method).
server-socket-class
(method).
socket-direction
(reader method).
(setf socket-direction)
(writer method).
socket-server-bind
(method).
tcp-connect-new
(function).
tcp-mixin
(class).
tcp-server-bind-error-addr
(reader method).
(setf tcp-server-bind-error-addr)
(writer method).
tcp-server-bind-error-port
(reader method).
(setf tcp-server-bind-error-port)
(writer method).
tcp-server-closed
(function).
tcp-server-new
(function).
cl-async/src/filesystem.lisp
streamish.lisp
(file).
src
(module).
filesystem-eacces
(condition).
filesystem-enoent
(condition).
filesystem-eperm
(condition).
filesystem-error
(condition).
mkdtemp
(function).
errno-event
(method).
errno-event
(method).
errno-event
(method).
fs-cb
(function).
cl-async/src/pipe.lisp
socket.lisp
(file).
filesystem.lisp
(file).
src
(module).
pipe-connect
(function).
pipe-server
(function).
pipe-server
(class).
%pipe-connect
(function).
handle-cleanup
(method).
make-socket-handle
(method).
pipe
(class).
pipe-mixin
(class).
server-socket-class
(method).
socket-server-bind
(method).
cl-async/src/signal.lisp
streamish.lisp
(file).
src
(module).
+sigabrt+
(constant).
+sigalrm+
(constant).
+sigbus+
(constant).
+sigchld+
(constant).
+sigcont+
(constant).
+sigemt+
(constant).
+sigfpe+
(constant).
+sighup+
(constant).
+sigill+
(constant).
+siginfo+
(constant).
+sigint+
(constant).
+sigio+
(constant).
+sigkill+
(constant).
+sigpipe+
(constant).
+sigprof+
(constant).
+sigquit+
(constant).
+sigsegv+
(constant).
+sigstop+
(constant).
+sigsys+
(constant).
+sigterm+
(constant).
+sigtrap+
(constant).
+sigtstp+
(constant).
+sigttin+
(constant).
+sigttou+
(constant).
+sigurg+
(constant).
+sigusr1+
(constant).
+sigusr2+
(constant).
+sigvtalrm+
(constant).
+sigwinch+
(constant).
+sigxcpu+
(constant).
+sigxfsz+
(constant).
clear-signal-handlers
(function).
free-signal-handler
(function).
signal-handler
(function).
lisp-signal-cb
(function).
set-lisp-signal-handler
(function).
signal-cb
(function).
signal-close-cb
(function).
signal-pointer
(function).
cl-async/src/notify.lisp
streamish.lisp
(file).
src
(module).
free-notifier
(function).
make-notifier
(function).
notifier
(class).
notifier-freed-p
(reader method).
ref
(method).
trigger-notifier
(function).
unref
(method).
async-cb
(function).
async-close-cb
(function).
check-notifier-unfreed
(function).
handle-cleanup
(method).
notifier-c
(reader method).
(setf notifier-c)
(writer method).
notifier-freed
(reader method).
(setf notifier-freed)
(writer method).
notifier-freed
(condition).
notifier-freed-notifier
(reader method).
(setf notifier-freed-notifier)
(writer method).
notifier-single-shot
(reader method).
(setf notifier-single-shot)
(writer method).
notifier-single-shot-p
(reader method).
cl-async/src/poll.lisp
streamish.lisp
(file).
src
(module).
free-poller
(function).
poll
(function).
poller
(class).
poller-freed-p
(reader method).
poll-cb
(function).
poll-close-cb
(function).
poller-c
(reader method).
(setf poller-c)
(writer method).
poller-freed
(reader method).
(setf poller-freed)
(writer method).
cl-async/src/idle.lisp
package.lisp
(file).
src
(module).
free-idler
(function).
idle
(function).
idler
(class).
idler-freed-p
(reader method).
idle-cb
(function).
idle-close-cb
(function).
idler-c
(reader method).
(setf idler-c)
(writer method).
idler-freed
(reader method).
(setf idler-freed)
(writer method).
cl-async/src/process.lisp
pipe.lisp
(file).
src
(module).
initialize-instance
(method).
process-error-output
(reader method).
(setf process-error-output)
(writer method).
process-input
(reader method).
(setf process-input)
(writer method).
process-kill
(function).
process-output
(reader method).
(setf process-output)
(writer method).
spawn
(function).
handle-cleanup
(method).
init-stdio-container
(function).
process
(class).
process-c
(reader method).
(setf process-c)
(writer method).
process-close
(function).
process-close-cb
(function).
process-exit-cb
(function).
cl-async/src/fsevent.lisp
streamish.lisp
(file).
src
(module).
fs-monitor-close
(function).
fs-unwatch
(function).
fs-watch
(function).
initialize-instance
(method).
%fs-monitor-close
(function).
fs-event-callback
(function).
fs-monitor
(class).
fs-monitor-c
(reader method).
(setf fs-monitor-c)
(writer method).
fs-monitor-close-cb
(function).
handle-cleanup
(method).
cl-async-base/src/base.lisp
cl-async-base
(system).
*buffer-size*
(special variable).
*buffer-writes*
(special variable).
*data-registry*
(special variable).
*enable-threading*
(special variable).
*event-base*
(special variable).
*event-base-next-id*
(special variable).
*function-registry*
(special variable).
*input-buffer*
(special variable).
*output-buffer*
(special variable).
*safe-sldb-quit-restart*
(special variable).
event-base
(class).
event-base-c
(reader method).
(setf event-base-c)
(writer method).
event-base-catch-app-errors
(reader method).
(setf event-base-catch-app-errors)
(writer method).
event-base-data-registry
(reader method).
(setf event-base-data-registry)
(writer method).
event-base-dns-base
(reader method).
(setf event-base-dns-base)
(writer method).
event-base-dns-ref-count
(reader method).
(setf event-base-dns-ref-count)
(writer method).
event-base-exit-functions
(reader method).
(setf event-base-exit-functions)
(writer method).
event-base-function-registry
(reader method).
(setf event-base-function-registry)
(writer method).
event-base-id
(reader method).
(setf event-base-id)
(writer method).
event-base-lock
(reader method).
(setf event-base-lock)
(writer method).
event-base-num-connections-in
(reader method).
(setf event-base-num-connections-in)
(writer method).
event-base-num-connections-out
(reader method).
(setf event-base-num-connections-out)
(writer method).
event-base-send-errors-to-eventcb
(reader method).
(setf event-base-send-errors-to-eventcb)
(writer method).
event-base-signal-handlers
(reader method).
(setf event-base-signal-handlers)
(writer method).
event-errcode
(reader method).
event-errmsg
(reader method).
event-error
(condition).
event-info
(condition).
cl-async-util/src/util/helpers.lisp
src/util/package.lisp
(file).
cl-async-util
(system).
*ipv4-scanner*
(special variable).
*ipv6-scanner*
(special variable).
append-array
(function).
attach-data-to-pointer
(function).
buffer-output
(function).
bytes
(function).
bytes-or-string
(type).
callback
(type).
clear-callbacks
(function).
clear-pointer-data
(function).
create-data-pointer
(function).
define-condition-alias
(macro).
deref-data-from-pointer
(function).
do-chunk-data
(function).
free-pointer-data
(function).
get-callbacks
(function).
ip-address-p
(function).
ipv4-address-p
(function).
ipv6-address-p
(function).
make-buffer
(function).
make-pointer-eql-able
(function).
octet
(type).
octet-vector
(type).
save-callbacks
(function).
with-lock
(macro).
write-to-buffer
(function).
cl-async-util/src/util/foreign.lisp
src/util/helpers.lisp
(file).
cl-async-util
(system).
+af-inet+
(constant).
+af-inet6+
(constant).
+af-unix+
(constant).
+af-unspec+
(constant).
addrinfo-to-string
(function).
define-c-callback
(macro).
error-str
(function).
fd-connected-p
(function).
ip-str-to-sockaddr
(function).
set-socket-nonblocking
(function).
with-foreign-object*
(macro).
with-ip-to-sockaddr
(macro).
cl-async-util/src/util/error.lisp
src/util/foreign.lisp
(file).
cl-async-util
(system).
*passthrough-errors*
(special variable).
call-with-callback-restarts
(function).
catch-app-errors
(macro).
handle-error
(generic function).
passthrough-error-p
(function).
run-event-cb
(function).
*evcb-err*
(special variable).
Packages are listed by definition order.
cl-async-base
common-lisp
.
*buffer-size*
(special variable).
*buffer-writes*
(special variable).
*data-registry*
(special variable).
*enable-threading*
(special variable).
*event-base*
(special variable).
*event-base-next-id*
(special variable).
*function-registry*
(special variable).
*input-buffer*
(special variable).
*output-buffer*
(special variable).
*safe-sldb-quit-restart*
(special variable).
event-base
(class).
event-base-c
(generic reader).
(setf event-base-c)
(generic writer).
event-base-catch-app-errors
(generic reader).
(setf event-base-catch-app-errors)
(generic writer).
event-base-data-registry
(generic reader).
(setf event-base-data-registry)
(generic writer).
event-base-dns-base
(generic reader).
(setf event-base-dns-base)
(generic writer).
event-base-dns-ref-count
(generic reader).
(setf event-base-dns-ref-count)
(generic writer).
event-base-exit-functions
(generic reader).
(setf event-base-exit-functions)
(generic writer).
event-base-function-registry
(generic reader).
(setf event-base-function-registry)
(generic writer).
event-base-id
(generic reader).
(setf event-base-id)
(generic writer).
event-base-lock
(generic reader).
(setf event-base-lock)
(generic writer).
event-base-num-connections-in
(generic reader).
(setf event-base-num-connections-in)
(generic writer).
event-base-num-connections-out
(generic reader).
(setf event-base-num-connections-out)
(generic writer).
event-base-send-errors-to-eventcb
(generic reader).
(setf event-base-send-errors-to-eventcb)
(generic writer).
event-base-signal-handlers
(generic reader).
(setf event-base-signal-handlers)
(generic writer).
event-errcode
(generic reader).
event-errmsg
(generic reader).
event-error
(condition).
event-info
(condition).
cl-async-util
cl-async-base
.
common-lisp
.
*ipv4-scanner*
(special variable).
*ipv6-scanner*
(special variable).
*passthrough-errors*
(special variable).
+af-inet+
(constant).
+af-inet6+
(constant).
+af-unix+
(constant).
+af-unspec+
(constant).
addrinfo-to-string
(function).
append-array
(function).
attach-data-to-pointer
(function).
buffer-output
(function).
bytes
(function).
bytes-or-string
(type).
call-with-callback-restarts
(function).
callback
(type).
catch-app-errors
(macro).
clear-callbacks
(function).
clear-pointer-data
(function).
create-data-pointer
(function).
define-c-callback
(macro).
define-condition-alias
(macro).
deref-data-from-pointer
(function).
do-chunk-data
(function).
error-str
(function).
fd-connected-p
(function).
free-pointer-data
(function).
get-callbacks
(function).
handle-error
(generic function).
ip-address-p
(function).
ip-str-to-sockaddr
(function).
ipv4-address-p
(function).
ipv6-address-p
(function).
make-buffer
(function).
make-pointer-eql-able
(function).
octet
(type).
octet-vector
(type).
passthrough-error-p
(function).
run-event-cb
(function).
save-callbacks
(function).
set-socket-nonblocking
(function).
with-foreign-object*
(macro).
with-ip-to-sockaddr
(macro).
with-lock
(macro).
write-to-buffer
(function).
*evcb-err*
(special variable).
cl-async
as
cl-async-base
.
cl-async-util
.
common-lisp
.
trivial-gray-streams
.
+sigabrt+
(constant).
+sigalrm+
(constant).
+sigbus+
(constant).
+sigchld+
(constant).
+sigcont+
(constant).
+sigemt+
(constant).
+sigfpe+
(constant).
+sighup+
(constant).
+sigill+
(constant).
+siginfo+
(constant).
+sigint+
(constant).
+sigio+
(constant).
+sigkill+
(constant).
+sigpipe+
(constant).
+sigprof+
(constant).
+sigquit+
(constant).
+sigsegv+
(constant).
+sigstop+
(constant).
+sigsys+
(constant).
+sigterm+
(constant).
+sigtrap+
(constant).
+sigtstp+
(constant).
+sigttin+
(constant).
+sigttou+
(constant).
+sigurg+
(constant).
+sigusr1+
(constant).
+sigusr2+
(constant).
+sigvtalrm+
(constant).
+sigwinch+
(constant).
+sigxcpu+
(constant).
+sigxfsz+
(constant).
add-event
(function).
add-event-loop-exit-callback
(function).
async-input-stream
(class).
async-io-stream
(class).
async-output-stream
(class).
async-stream
(class).
check-streamish-open
(function).
clear-signal-handlers
(function).
close-socket
(function).
close-socket-server
(generic function).
close-streamish
(generic function).
close-tcp-server
(function).
connect-tcp-socket
(function).
delay
(function).
disable-socket
(function).
dns-error
(condition).
dns-lookup
(function).
dump-event-loop-status
(function).
enable-socket
(function).
event
(class).
event-c
(generic reader).
(setf event-c)
(generic writer).
event-freed
(generic reader).
(setf event-freed)
(generic writer).
event-freed
(condition).
event-freed-p
(generic reader).
exit-event-loop
(function).
filesystem-eacces
(condition).
filesystem-enoent
(condition).
filesystem-eperm
(condition).
filesystem-error
(condition).
free-event
(function).
free-idler
(function).
free-notifier
(function).
free-poller
(function).
free-signal-handler
(function).
fs-monitor-close
(function).
fs-unwatch
(function).
fs-watch
(function).
idle
(function).
idler
(class).
idler-freed-p
(generic reader).
interval
(function).
make-event
(function).
make-notifier
(function).
mkdtemp
(function).
notifier
(class).
notifier-freed-p
(generic reader).
pipe-connect
(function).
pipe-server
(function).
pipe-server
(class).
poll
(function).
poller
(class).
poller-freed-p
(generic reader).
process-error-output
(generic reader).
(setf process-error-output)
(generic writer).
process-input
(generic reader).
(setf process-input)
(generic writer).
process-kill
(function).
process-output
(generic reader).
(setf process-output)
(generic writer).
ref
(generic function).
remove-event
(function).
remove-interval
(function).
reverse-dns-lookup
(function).
set-socket-timeouts
(function).
signal-handler
(function).
socket
(generic function).
(setf socket)
(generic writer).
socket
(class).
socket-aborted
(condition).
socket-accept-error
(condition).
socket-accept-error-listener
(generic reader).
(setf socket-accept-error-listener)
(generic writer).
socket-address-in-use
(condition).
socket-c
(generic reader).
(setf socket-c)
(generic writer).
socket-closed
(generic reader).
(setf socket-closed)
(generic writer).
socket-closed
(condition).
socket-closed-p
(function).
socket-data
(generic reader).
(setf socket-data)
(generic writer).
socket-eof
(condition).
socket-error
(condition).
socket-info
(condition).
socket-refused
(condition).
socket-reset
(condition).
socket-timeout
(condition).
spawn
(function).
start-event-loop
(function).
stats
(function).
stream-socket
(function).
streamish
(generic function).
(setf streamish)
(generic writer).
streamish
(class).
streamish-broken-pipe
(condition).
streamish-canceled
(condition).
streamish-closed
(generic reader).
(setf streamish-closed)
(generic writer).
streamish-closed
(condition).
streamish-closed-p
(function).
streamish-enoent
(condition).
streamish-eof
(condition).
streamish-error
(condition).
streamish-info
(condition).
streamish-write
(generic function).
tcp-accept-error
(condition).
tcp-connect
(function).
tcp-eof
(condition).
tcp-error
(condition).
tcp-info
(condition).
tcp-refused
(condition).
tcp-reset
(condition).
tcp-server
(function).
tcp-server
(class).
tcp-server-bind-error
(condition).
tcp-socket
(generic reader).
(setf tcp-socket)
(generic writer).
tcp-socket
(class).
tcp-timeout
(condition).
trigger-notifier
(function).
unref
(generic function).
with-delay
(macro).
with-event-loop
(macro).
with-interval
(macro).
write-socket-data
(function).
%fs-monitor-close
(function).
%pipe-connect
(function).
*event-base-registry*
(special variable).
*event-base-registry-lock*
(special variable).
*loop-close-iters*
(special variable).
async-cb
(function).
async-close-cb
(function).
check-event-loop-running
(function).
check-event-unfreed
(function).
check-notifier-unfreed
(function).
check-socket-open
(function).
dns-cb
(function).
do-close-loop
(function).
do-close-streamish
(function).
errno-event
(generic function).
event-freed-event
(generic reader).
(setf event-freed-event)
(generic writer).
event-handler
(function).
fs-cb
(function).
fs-event-callback
(function).
fs-monitor
(class).
fs-monitor-c
(generic reader).
(setf fs-monitor-c)
(generic writer).
fs-monitor-close-cb
(function).
handle-cleanup
(generic function).
idle-cb
(function).
idle-close-cb
(function).
idler-c
(generic reader).
(setf idler-c)
(generic writer).
idler-freed
(generic reader).
(setf idler-freed)
(generic writer).
init-client-socket
(function).
init-incoming-socket
(function).
init-stdio-container
(function).
lisp-signal-cb
(function).
loop-exit-walk-cb
(function).
make-socket-handle
(generic function).
notifier-c
(generic reader).
(setf notifier-c)
(generic writer).
notifier-freed
(generic reader).
(setf notifier-freed)
(generic writer).
notifier-freed
(condition).
notifier-freed-notifier
(generic reader).
(setf notifier-freed-notifier)
(generic writer).
notifier-single-shot
(generic reader).
(setf notifier-single-shot)
(generic writer).
notifier-single-shot-p
(generic reader).
pipe
(class).
pipe-mixin
(class).
poll-cb
(function).
poll-close-cb
(function).
poller-c
(generic reader).
(setf poller-c)
(generic writer).
poller-freed
(generic reader).
(setf poller-freed)
(generic writer).
process
(class).
process-c
(generic reader).
(setf process-c)
(generic writer).
process-close
(function).
process-close-cb
(function).
process-event-loop-exit-callbacks
(function).
process-exit-cb
(function).
reverse-dns-cb
(function).
send-buffered-data
(generic function).
server-socket-class
(generic function).
set-lisp-signal-handler
(function).
signal-cb
(function).
signal-close-cb
(function).
signal-pointer
(function).
socket-accept-cb
(function).
socket-accept-error-server
(generic reader).
(setf socket-accept-error-server)
(generic writer).
socket-address
(generic reader).
(setf socket-address)
(generic writer).
socket-buffer
(generic reader).
(setf socket-buffer)
(generic writer).
socket-buffering-p
(generic reader).
(setf socket-buffering-p)
(generic writer).
socket-connect-cb
(function).
socket-connected
(generic reader).
(setf socket-connected)
(generic writer).
socket-direction
(generic reader).
(setf socket-direction)
(generic writer).
socket-drain-read-buffer
(generic reader).
(setf socket-drain-read-buffer)
(generic writer).
socket-server
(function).
socket-server
(class).
socket-server-bind
(generic function).
socket-server-c
(generic reader).
(setf socket-server-c)
(generic writer).
socket-server-closed
(generic reader).
(setf socket-server-closed)
(generic writer).
socket-server-stream
(generic reader).
(setf socket-server-stream)
(generic writer).
stream-append-bytes
(generic function).
stream-buffer
(generic reader).
(setf stream-buffer)
(generic writer).
stream-output-type
(generic function).
streamish-alloc-cb
(function).
streamish-c
(generic reader).
(setf streamish-c)
(generic writer).
streamish-close-cb
(function).
streamish-convert-data
(function).
streamish-data
(generic reader).
(setf streamish-data)
(generic writer).
streamish-drain-read-buffer
(generic reader).
(setf streamish-drain-read-buffer)
(generic writer).
streamish-read-cb
(function).
streamish-read-start
(function).
streamish-shutdown-cb
(function).
streamish-write-cb
(function).
tcp-connect-new
(function).
tcp-mixin
(class).
tcp-server-bind-error-addr
(generic reader).
(setf tcp-server-bind-error-addr)
(generic writer).
tcp-server-bind-error-port
(generic reader).
(setf tcp-server-bind-error-port)
(generic writer).
tcp-server-closed
(function).
tcp-server-new
(function).
timer-cb
(function).
timer-close-cb
(function).
walk-cb
(function).
write-pending-socket-data
(generic function).
write-to-uvstream
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The amount of data we’ll pull from the evbuffers when doing reading/writing.
If T, will buffer writes on the socket until the next loop. This is mainly to cut down on calls to uv_write, which is fairly slow.
A hash table holding C pointer -> lisp data mappings.
If true, various pieces of the cl-async internals will lock their restecpive structures before operating to ensure thread safety.
THE event base object used to process all async operations.
The numeric identifier assigned to each new event base.
A hash table holding C pointer -> lisp function(s) mappings.
A buffer that lives in both C and lisp worlds (static-vector) that lets us read from sockets.
Scanner that detects if a string is an IPV4 address.
Scanner that detects if a string is an IPV6 address.
A buffer that lives in both C and lisp worlds (static-vector) that lets us write to sockets.
If true, provides a safe default for SLIME debugger quit restart (ABORT-CALLBACK). This restart causes the callback to be aborted without quitting the event loop. If false, the default restart is set to EXIT-EVENT-LOOP.
Handle error conditions by directing them to the specified event callback or default event handler of the current event loop, if catching app errors is enabled for the current event loop via EVENT-BASE-CATCH-APP-ERRORS, otherwise just evaluate the BODY.
If event-cbs are called via run-event-cb, make sure the event-cb is NOT double-called with the same condition twice.
Define a top-level function with the given and also define a C callback that calls the function directly. The idea is that CFFI callbacks aren’t directly callable/debuggable, but it’s obnoxious to have to define and callback *and* a function right next to each other.
Define an alias for the specified condition.
Nicer syntax for delay function.
Makes starting an event loop a tad less annoying. I really couldn’t take typing out ‘(start-event-loop (lambda () ...) ...) every time. Example:
(with-event-loop (:catch-app-errors t)
(do-something-one-does-when-an-event-loop-is-running))
See how nice that is?
Convenience macro, makes creation and initialization of CFFI types easier. Emphasis on initialization.
Nicer syntax for interval function.
Wraps around ipv4-str-to-sockaddr. Converts a string address and port and creates a sockaddr-in object, runs the body with it bound, and frees it.
If threading is enabled, locks the current event loop before processing body and releases the lock after body is finished.
Add an event to its specified event loop (make it pending). If given a :timeout (in seconds) the event will fire after that amount of time, unless it’s removed or freed.
Add a function to be run when the event loop exits.
Given a (horrible) addrinfo C object pointer, grab either an IP4 or IP6 address and return is as a string.
Create an array, made up of arr1 followed by arr2.
Attach a lisp object to a foreign pointer.
Grab the output from a buffer created with (make-buffer).
Convert any vector/string into a byte array. Useful for sending direct byte data into write-socket-data.
Call thunk with restarts that make it possible to ignore the callback
in case of an error or safely terminate the event loop.
If SWANK is active, set SLDB’s quit restart to ABORT-CALLBACK restart if *safe-sldb-quit-restart* is true or EXIT-EVENT-LOOP otherwise.
Throw a streamish-closed condition if given a streamish that’s closed.
Clear out all callbacks for the given pointer.
Clear the data attached to a CFFI pointer.
Clear all bound signal handlers. Great for cleaning up when exiting an app.
Free a socket (uvstream) and clear out all associated data. Same as close-streamish.
Connect a tcp socket initialized with init-client-socket.
Creates a pointer in C land that can be used to attach data/callbacks to. Note that this must be freed via clear-pointer-data.
Run a function, asynchronously, after the specified amount of seconds. An
event loop must be running for this to work.
If time is nil, callback is still called asynchronously, but is queued in the event loop with no delay.
Grab data attached to a CFFI pointer.
Disable read/write monitoring on a socket. If :read or :write are nil, they are not enabled, but rather just not disabled.
Asynchronously lookup a DNS address. Note that if an IP address is passed, the lookup happens synchronously. If a lookup is synchronous (and instant) this returns T, otherwise nil (lookup happening in background). Either way the resolve-cb is called with the lookup info (so always assume this is async).
Util function that splits data into the (length buffer) chunks and calls write-cb for each chunk.
Return the status of the event loop. Really a debug function more than anything else.
Enable read/write monitoring on a socket. If :read or :write are nil, they are not disabled, but rather just not enabled.
Given a libuv error number, return the error string.
Exit the event loop if running.
Check if an FD is connected.
Free a cl-async event object and any resources it uses.
Free a cl-async notifier object and any resources it uses.
Clears out all data attached to a foreign pointer, and frees the pointer (unless :preserve-pointer is t).
Clear a signal handler and unbind it.
Get all callbacks for the given pointer.
Calls ‘callback‘ once per event loop.
Run a function, asynchronously, every ‘time‘ seconds. This function returns a function which, when called, cancels the interval.
Determine if the given host is an IP or a hostname.
Convert a string IP address and port into a sockaddr-in struct. Must be freed by the app!
Determine if the given host is an IPV4 addr or a hostname.
Determine if the given host is an IPV6 addr or a hostname.
Create an octet buffer, optoinally filled with the given data.
Make an arbitrary event, and add it to the event loop. It *must* be triggered
by (add-event <the event> :activate t) or it will sit, idle, for 100 years.
Or you can remove/free it instead.
This is useful for triggering arbitrary events, and can even be triggered from a thread outside the libuv loop.
Makes a notifier, an object that can trigger a callback from a thread other than the event loop thread. If single-shot is true (the default), free the notifier after it’s triggered.
Abstraction to make a CFFI pointer #’eql to itself. Does its best to be the most performant for the current implementation.
Return true if the specified error condition should not be intercepted by cl-async error handling mechanism.
Open a pipe connection asynchronously. Optionally send data out once connected via the :data keyword (can be a string or byte array).
Start a pipe listener on the current event loop. Returns a tcp-server class which can be closed with close-tcp-server
Poll an OS FD. If the FD is a socket, :socket t must be passed.
If PROCESS is active, send the specified signal (an integer) to it and return true.
If PROCESS is not active or an error occurs (and EVENT-CB doesn’t
signal an error), return false. If EVENT-CB is specified, use it
to handle errors, otherwise signal them via ERROR.
Remove a pending event from the event loop.
Stops an interval from looping.
Perform reverse DNS lookup on IP specifier as string. Call RESOLVE-CB with resolved HOST and SERVICE as strings. The callback is called once with one host, even if multiple hosts match the query.
When used in the dynamic context of catch-app-errors, wraps the calling of an event-cb with args such that errors are caught and saved, ensuring that an event-cb isn’t called twice with the same condition. When used outside the dynamic context of catch-app-errors, just invokes event-cb with args.
Save a set of callbacks, keyed by the given pointer.
Sets an FD into non-blocking mode.
Set the read/write timeouts on a socket.
Setup a one-time signal handler for the given signo. This also sets up a lisp signal handler, so if a signal comes through while lisp is running instead of the event loop, it will run the same callback. All signal handlers are restored on event loop exit.
Return whether a socket is closed or not. Same as streamish-closed-p.
Run the program specified by PATH with specified ARGS.
ARGS don’t include the executable path (argv[0]). Return process
object and pipes or streams for input, output and error output file
descriptors of the child process (NIL for file descriptors that
aren’t redirected via :PIPE or :STREAM, see below).
EXIT-CB specifies the callback that should be called when the
program terminates. It should be a function taking three arguments:
process object, exit status and signal number that caused program
termination (0 if the program wasn’t terminated by signal).
EVENT-CB specifies error handler to be used.
INPUT, OUTPUT and ERROR-OUTPUT specify process input/output/error
redirection. For each of these, the following values are
supported:
:IGNORE the corresponding file descriptor isn’t used
:INHERIT inherit file descriptor from this process
(:PIPE [:READ-CB ...] ...) use pipe-based redirection of the
corresponding file descriptor (see PIPE-CONNECT for the set
of supported keyword arguments).
(:STREAM [:READ-CB ...] ...) same as PIPE, but uses async
stream instead of a pipe.
ENV is an alist of (VAR . VALUE) pairs specifying the environment variables
of the spawned process. Note that both VAR and VALUE must be strings.
WORKING-DIRECTORY specifies the current working directory of the spawned program. Defaults to the current working directory of its parent process (viz. the process SPAWN is called from).
Simple wrapper function that starts an event loop which runs the given callback, most likely to init your server/client.
Return statistics about the current event loop.
Return whether a streamish is closed or not.
Open a TCP connection asynchronously. Optionally send data out once connected via the :data keyword (can be a string or byte array).
Open a TCP connection asynchronously. Optionally send data out once connected via the :data keyword (can be a string or byte array).
Fires the callback attached to a notifier. Can be called from any thread.
An compatibility alias for STREAMISH-WRITE.
Write data to a buffer created with (make-buffer).
Closes a socket server. If already closed, does nothing.
socket-server
)) ¶Free a streamish (uvstream) and clear out all associated data.
tcp-socket
) &key &allow-other-keys) ¶event-base
)) ¶event-base
)) ¶Holds the C object pointing to the underlying event loop object.
c
.
event-base
)) ¶event-base
)) ¶If t (or a function) will trap all errors produced in the event loop and process them internally
event-base
)) ¶event-base
)) ¶Holds all callback data attached to this event loop.
event-base
)) ¶event-base
)) ¶Holds the DNS base object used for DNS lookups.
event-base
)) ¶event-base
)) ¶Tracks how many open requests are pending on the dns base.
event-base
)) ¶event-base
)) ¶Holds functions to be run when the event loop exist (cleanly or otherwise).
event-base
)) ¶event-base
)) ¶Holds all callbacks attached to this event loop.
event-base
)) ¶event-base
)) ¶Holds this event loop’s numeric id.
id
.
event-base
)) ¶event-base
)) ¶Holds *the* lock for this event base.
lock
.
event-base
)) ¶automatically generated reader method
event-base
)) ¶automatically generated writer method
event-base
)) ¶automatically generated reader method
event-base
)) ¶automatically generated writer method
event-base
)) ¶event-base
)) ¶If t, will send caught errors to the event-cb instead of handle-error
event-base
)) ¶event-base
)) ¶Holds all signal handlers.
event-error
)) ¶code
.
event-error
)) ¶msg
.
Default error handler responsible for handling uncaught errors.
Reference a libuv handle object (uv_ref)
socket-info
)) ¶socket-info
)) ¶socket-accept-error
)) ¶socket-accept-error
)) ¶Returned associated streamish for THING or THING itself if THING is a streamish.
async-stream
)) ¶automatically generated reader method
streamish-info
)) ¶async-stream
)) ¶automatically generated writer method
streamish-info
)) ¶Write data into a streamish. Allows specifying read/write/event
callbacks. Any callback left nil will use that current callback from the
streamish (so they only override when specified, otherwise keep the current
callback).
Note that libuv doesn’t buffer output for non-connected sockets, so we have to do it ourselves by checking if the socket is connected and buffering accordingly.
streamish-info
)) ¶streamish-info
)) ¶Unreference a libuv handle object (uv_unref)
async-stream
) &key abort) ¶Close the stream. If aborting, attempt to clear out remaining data in the buffers before closing (is this really needed?)
tcp-socket
) &key direction &allow-other-keys) ¶process
) &key exit-cb event-cb &allow-other-keys) ¶socket-server
) &key &allow-other-keys) ¶fs-monitor
) &key &allow-other-keys) ¶async-stream
)) ¶Test the underlying streamish to see if this stream is open.
async-input-stream
)) ¶Attempt to clear the input buffer of an input stream.
sb-gray
.
async-output-stream
)) ¶Attempt to clear the output buffer of an output stream.
sb-gray
.
async-stream
)) ¶This is always a binary stream.
async-output-stream
)) ¶Really, since we’re async, same as force-output.
sb-gray
.
async-output-stream
)) ¶Force an output stream to send its data to the underlying fd.
sb-gray
.
async-input-stream
)) ¶Read one byte from the underlying streamish.
sb-gray
.
async-input-stream
) sequence start end &key) ¶Attempt to read a sequence of bytes from the underlying streamish.
trivial-gray-streams
.
async-output-stream
) byte) ¶Write one byte to the underlying streamish.
sb-gray
.
async-output-stream
) sequence start end &key) ¶Write a sequence of bytes to the underlying streamish.
trivial-gray-streams
.
Passed to a failure callback when a DNS error occurs on a connection.
Describes a general error event.
error
.
event-info
.
(quote 0)
:code
This slot is read-only.
(quote nil)
:msg
This slot is read-only.
Thrown when a freed event is operated on.
(quote nil)
:event
Describes the base event for any action in cl-async.
condition
.
Error: access denied
Error: no such file or directory
Error: permission denied
Base class for filesystem conditions
Connection aborted.
Passed to a server’s event-cb when there’s an error accepting a connection.
Address is already in use.
Peer closes a socket connection.
Describes a general socket connection error.
Base socket condition. Holds the socket object.
(quote nil)
:streamish
, :socket
Connection refused.
Connection reset.
Socket connection timed out.
Broken pipe.
Operation canceled.
Thrown when a closed streamish is being operated on.
Passed to an event callback on Error: no such file or directory.
Passed to an event callback when stream EOF is reached.
Describes a general streamish error.
Base streamish condition. Holds the streamish object.
(quote nil)
:streamish
, :socket
Thrown when a server fails to bind (generally, the port is already in use).
Async input stream.
async-stream
.
fundamental-binary-input-stream
.
Async stream for both input and output.
Async output stream.
async-stream
.
fundamental-binary-output-stream
.
The underlying class for async streams. Wraps a streamish.
Wraps a C libuv event object.
A class that holds an event loop and all of the state that it manages.
One object to rule them all, one object to find them.
One object to bring them in and in the darkness bind them.
(setf event-base-c)
.
event-base-c
.
(setf event-base-catch-app-errors)
.
event-base-catch-app-errors
.
(setf event-base-data-registry)
.
event-base-data-registry
.
(setf event-base-dns-base)
.
event-base-dns-base
.
(setf event-base-dns-ref-count)
.
event-base-dns-ref-count
.
(setf event-base-exit-functions)
.
event-base-exit-functions
.
(setf event-base-function-registry)
.
event-base-function-registry
.
(setf event-base-id)
.
event-base-id
.
(setf event-base-lock)
.
event-base-lock
.
(setf event-base-num-connections-in)
.
event-base-num-connections-in
.
(setf event-base-num-connections-out)
.
event-base-num-connections-out
.
(setf event-base-send-errors-to-eventcb)
.
event-base-send-errors-to-eventcb
.
(setf event-base-signal-handlers)
.
event-base-signal-handlers
.
Holds the C object pointing to the underlying event loop object.
:c
Holds this event loop’s numeric id.
:id
Holds all callbacks attached to this event loop.
(make-hash-table :test (function eql))
:function-registry
Holds all callback data attached to this event loop.
(make-hash-table :test (function eql))
:data-registry
Holds functions to be run when the event loop exist (cleanly or otherwise).
:exit-functions
Holds all signal handlers.
:signal-handlers
Holds the DNS base object used for DNS lookups.
:dns-base
Tracks how many open requests are pending on the dns base.
0
:dns-ref-count
If t (or a function) will trap all errors produced in the event loop and process them internally
:catch-app-errors
If t, will send caught errors to the event-cb instead of handle-error
:send-errors-to-eventcb
Holds *the* lock for this event base.
(bordeaux-threads:make-lock)
:lock
0
0
Wraps a libuv idle handle.
Wraps a threading-enabled notifier.
Wraps a polling handle.
Wraps around a socket.
close-streamish
.
errno-event
.
errno-event
.
errno-event
.
errno-event
.
errno-event
.
initialize-instance
.
(setf socket-address)
.
socket-address
.
(setf socket-buffer)
.
socket-buffer
.
(setf socket-buffering-p)
.
socket-buffering-p
.
(setf socket-c)
.
socket-c
.
(setf socket-closed)
.
socket-closed
.
(setf socket-connected)
.
socket-connected
.
(setf socket-data)
.
socket-data
.
(setf socket-drain-read-buffer)
.
socket-drain-read-buffer
.
streamish-write
.
write-pending-socket-data
.
Holds data sent on the socket that hasn’t been sent yet.
(cl-async-util:make-buffer)
:buffer
Lets us know if the socket is currently buffering output.
:connected
Wraps around a streamish.
close-streamish
.
errno-event
.
errno-event
.
errno-event
.
errno-event
.
errno-event
.
streamish
.
(setf streamish-c)
.
streamish-c
.
(setf streamish-closed)
.
streamish-closed
.
(setf streamish-data)
.
streamish-data
.
(setf streamish-drain-read-buffer)
.
streamish-drain-read-buffer
.
streamish-write
.
streamish-write
.
(cffi-sys:null-pointer)
:c
Used to store arbitrary (app-defined) data with a streamish.
cl-async::data
:closed
t
:drain-read-buffer
:out
:direction
Holds ID -> event-base lookups for every active event loop. Mainly used when grabbing the threading context for a particular event loop.
Locks the event-base registry.
Maximum number of event loop cleanup iterations
Connect a pipe initialized with init-client-socket.
Called when an async notifier is triggered.
Called when an async handle is closed.
Checks that an event being operated on is not freed.
Checks that an notifier being operated on is not freed.
Compatibility alias for CHECK-STREAMISH-OPEN.
Callback for DNS lookups.
Close an event loop by looping over its open handles, closing them, rinsing and repeating until uv-loop-close returns 0, but at most *LOOP-CLOSE-ITERS* times.
Close an UV stream.
Called when an event (error, mainly) occurs.
Called when a fs-monitor closes.
Initialize an async socket, but do not connect it.
Called by the socket-accept-cb when an incoming connection is detected. Sets up a socket between the client and the server along with any callbacks the server has attached to it. Returns the cl-async socket object created.
Generic callback for lisp signal handling.
Called when we want to close the loop AND IT WONT CLOSE. So we walk each handle and close them.
Called when something happens on a polled FD.
Called when a process closes.
run and clear out all event loop exit functions.
Callback for reverse DNS lookups.
Replace the current handler for the signal number under signo, and return a pointer to the handler that is being replaced.
All signals come through here.
Called when a signal handler closes.
Creates a pointer from a signal number. Not that this doesn’t need to be freed since we’re not allocating anything...just creating a pointer object with a specific address (which can be GCed).
Called by a listener when an incoming connection is detected. Thin wrapper around init-incoming-socket, which does all the setting up of callbacks and pointers and so forth.
Called when an outgoing socket connects.
Start a socket listener on the current event loop. Returns a socket-server instance which can be closed with close-socket-server
Called when we want to allocate data to be filled for stream reading.
Called when a streamish closes.
Called when a stream has been read into a buffer returned by alloc-cb.
Start reading on the socket, return true on success. Invoke streamish’ event handler callback on error, returning NIL.
Called when a streamish shuts down.
Called when data is finished being written to a streamish.
Open a TCP connection asynchronously. Optionally send data out once connected via the :data keyword (can be a string or byte array).
Start a TCP listener on the current event loop. Returns a tcp-server class which can be closed with close-tcp-server
Callback used by the async timer system to find and run user-specified callbacks on timer events.
Called when a timer closes.
Called when we’re walking the loop.
Util function to write data directly to a uv stream object.
Make an event based on errno and streamish.
(eql -1)
)) ¶(eql -13)
)) ¶(eql -2)
)) ¶(eql -98)
)) ¶(eql -14)
)) ¶(eql -3008)
)) ¶event-freed
)) ¶event-freed
)) ¶fs-monitor
)) ¶automatically generated reader method
c
.
fs-monitor
)) ¶automatically generated writer method
c
.
Perform cleanup for a libuv handle
(eql :fs-event)
) handle) ¶(eql :process)
) handle) ¶(eql :async)
) handle) ¶(eql :async-socket)
) handle) ¶(eql :timer)
) handle) ¶Create an underlying stream handle for socket connection
pipe-mixin
)) ¶notifier-freed
)) ¶notifier-freed
)) ¶async-output-stream
)) ¶Take data we’ve buffered between initial sending and actual streamish and send it out.
Return socket class for connections accepted by SERVER
pipe-server
)) ¶tcp-server
)) ¶socket-accept-error
)) ¶socket-accept-error
)) ¶tcp-socket
)) ¶automatically generated reader method
tcp-socket
)) ¶automatically generated writer method
Bind socket server to the specified address, return libuv errno. Specify FD to bind the server to an existing file descriptor.
pipe-server
) address fd) ¶tcp-server
) address fd) ¶socket-server
)) ¶automatically generated reader method
c
.
socket-server
)) ¶automatically generated writer method
c
.
socket-server
)) ¶automatically generated reader method
socket-server
)) ¶automatically generated writer method
socket-server
)) ¶automatically generated reader method
socket-server
)) ¶automatically generated writer method
async-stream
) bytes) ¶Append some data to a stream’s underlying buffer.
async-stream
)) ¶automatically generated reader method
async-stream
)) ¶automatically generated writer method
async-stream
)) ¶This is always a binary stream.
tcp-server-bind-error
)) ¶tcp-server-bind-error
)) ¶tcp-server-bind-error
)) ¶tcp-server-bind-error
)) ¶Write any pending data on the given socket to its underlying stream.
Thrown when a freed notifier is operated on.
(quote nil)
:notifier
Wraps around a connection listener.
Jump to: | %
(
A B C D E F G H I L M N O P R S T U W |
---|
Jump to: | %
(
A B C D E F G H I L M N O P R S T U W |
---|
Jump to: | *
+
A B C D E F I L M N O P S |
---|
Jump to: | *
+
A B C D E F I L M N O P S |
---|
Jump to: | A B C D E F I M N O P S T |
---|
Jump to: | A B C D E F I M N O P S T |
---|