Next: srfi basic-socket spec flag, Previous: srfi basic-socket spec port, Up: srfi basic-socket spec [Index]
The following bindings are exported by the libraries (srfi :106)
and (srfi :106 socket)
.
Call a given procedure with a given socket as an argument. If
proc returns: call-with-socket
returns the result of
proc and socket is automatically closed. If proc does
not return: then socket is not closed automatically.