Compatibility layer for java.io vs java.nio sockets to allow an incremental transition to nio, since the JDK's filesystem sockets don't support the java.io socket interface, and we can't use the compatibility layer for bidirectional read and write: https://bugs.openjdk.java.net/browse/JDK-4509080.
Compatibility layer for java.io vs java.nio sockets to allow an incremental transition to nio, since the JDK's filesystem sockets don't support the java.io socket interface, and we can't use the compatibility layer for bidirectional read and write: https://bugs.openjdk.java.net/browse/JDK-4509080.
(accept s)
Accepts a connection on s. Throws ClosedChannelException if s is closed.
Accepts a connection on s. Throws ClosedChannelException if s is closed.
(buffered-input x)
Returns a buffered stream (subset of BufferedInputStream) reading from x.
Returns a buffered stream (subset of BufferedInputStream) reading from x.
(buffered-output x)
Returns a buffered stream (subset of BufferedOutputStream) reading from x.
Returns a buffered stream (subset of BufferedOutputStream) reading from x.
(unix-server-socket path)
Returns a filesystem socket bound to the path if the JDK is version 16 or newer or if com.kohlschutter.junixsocket/junixsocket-core can be loaded dynamically. Otherwise throws the ex-info map {:nrepl/kind ::no-filesystem-sockets}.
Returns a filesystem socket bound to the path if the JDK is version 16 or newer or if com.kohlschutter.junixsocket/junixsocket-core can be loaded dynamically. Otherwise throws the ex-info map {:nrepl/kind ::no-filesystem-sockets}.
(unix-socket-address path)
Returns a filesystem socket address for the given path string.
Returns a filesystem socket address for the given path string.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close