(block session timeout & body)
Turn a non-blocking call that returns EAGAIN into a blocking one.
Turn a non-blocking call that returns EAGAIN into a blocking one.
(block-return session timeout & body)
Similar to block, but for functions that return a pointer
Similar to block, but for functions that return a pointer
(connect address port)
Create a socket and connect it to the given address and port.
Create a socket and connect it to the given address and port.
(select session select-read select-write timeout)
Call select on a socket from a clj-libssh2 Session.
Call select on a socket from a clj-libssh2 Session.
(send-keepalive session)
Send a keepalive message and return the number of seconds until the next time we should send a keepalive.
Send a keepalive message and return the number of seconds until the next time we should send a keepalive.
(wait session)
(wait session start-time)
Roughly equivalent to _libssh2_wait_socket in libssh2. Will raise an error on timeout or just block until it's time to try again.
Roughly equivalent to _libssh2_wait_socket in libssh2. Will raise an error on timeout or just block until it's time to try again.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close