Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion set-timeouts.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,11 @@ set."
#+:cmu
(setf (lisp::fd-stream-timeout (usocket:socket-stream usocket))
(coerce read-timeout 'integer))
#-(or :clisp :ecl :openmcl :sbcl :cmu)
#+lispworks
(when read-timeout
(usocket::set-socket-receive-timeout (usocket:socket usocket) read-timeout))
#+lispworks
(when write-timeout
(usocket::set-socket-send-timeout (usocket:socket usocket) write-timeout))
#-(or :clisp :ecl :openmcl :sbcl :cmu :lispworks)
(not-implemented 'set-timeouts))