master
Avril 5 years ago
parent 97fce06c4c
commit f944214c1f
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -4,7 +4,7 @@
(ql:quickload :cl-sipc))
(defparameter *socket-file* "sipc.socket")
(defparameter *respond* t)
(defparameter *respond* t) ;; should the server echo responses to client?
(when (probe-file *socket-file*)
(delete-file *socket-file*))
@ -25,7 +25,7 @@
(when *respond*
(format t
" -> ~a~%"
(sipc:respond
(sipc:respond ;; send the response as a formatted string
(if (eql type :binary)
(format nil "~a" (sipc:pointer-to-array message))
(format nil "~a" message)))))

Loading…
Cancel
Save