usocket:socket-accept
(usocket:socket-accept socket &key element-type)
Blocks until a client connects to the given listener and returns the accepted
connection socket -- the usocket-compatible wrapper over
rontolisp:tcp-accept. :element-type is accepted
for compatibility and ignored (a rontolisp socket handle is always
bidirectional).
Backend support
- Interpreter and JVM: full support.
- WASM: component mode only; a plain Preview 1
.wasmsignals at the call. - Native executable (
--native): full support, as on the interpreter and the JVM (TCP sockets in a native executable). - Browser playground: not supported.