Liking cljdoc? Tell your friends :D

com.gearswithingears.async-sockets


AsyncSocketclj

source

AsyncSocketServerclj

source

close-socket-clientclj

(close-socket-client {:keys [in out socket address] :as this})
source

default-server-backlogclj

source

server-running?clj

(server-running? {:keys [server]})
source

socket-clientclj

(socket-client port)
(socket-client port address)

Given a port and an optional address (localhost by default), returns an AsyncSocket which must be explicitly started and stopped by the consumer. Observes value of flush-on-newline var for purposes of socket flushing.

Given a port and an optional address (localhost by default), returns an AsyncSocket which must be explicitly
started and stopped by the consumer. Observes value of *flush-on-newline* var for purposes of socket flushing.
sourceraw docstring

socket-serverclj

(socket-server port)
(socket-server port backlog)
(socket-server port backlog bind-addr)

Given a port and optional backlog (the maximum queue length of incoming connection indications, 50 by default) and an optional bind address (localhost by default), starts and returns a socket server and a :connections channel that yields a new socket client on each connection. Observes value of flush-on-newline var for purposes of socket flushing.

Given a port and optional backlog (the maximum queue length of incoming connection indications, 50 by default)
and an optional bind address (localhost by default), starts and returns a socket server and a :connections channel
that yields a new socket client on each connection. Observes value of *flush-on-newline* var for purposes of
socket flushing.
sourceraw docstring

stop-socket-serverclj

(stop-socket-server {:keys [server connections port] :as this})
source

system-newlineclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close