Welcome to the CHICKEN Scheme pasting service

test for tcp read-char added by klm` on Sun Feb 19 14:36:04 2012



(define s (tcp-listen 1234))
(print "********** PLEASE CONNECT YOUR DEBUGGER")
; this blocks
(define-values (i o) (tcp-accept s))
; until I do $ adb shell nc -v localhost 1234

(print "going to read one char")
; this hangs until I get "timeout error"
(print "char is " (read-char i))
; even if I send things from my adb-shell

; never seen:
(print "read-char done")

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which egg implements a Scheme to JavaScript compiler?
Visually impaired? Let me spell it for you (wav file) download WAV