Welcome to the CHICKEN Scheme pasting service

no title added by jyc on Mon Jul 7 00:43:22 2014

(use intarweb socket)

(define listener (socket af/inet sock/stream))
(socket-bind listener (inet-address "127.0.0.1" 8080))
(socket-listen listener 10)

(let accept ((conn (socket-accept listener)))
  (define-values (i o) (socket-i/o-ports conn))
  (set! (tcp-no-delay? listener) #t)
  (set! (so-reuse-address? listener) #t) 

  (write (read-request i)) ; errors

  ; - snip -
  )

; - snip -

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the result of `(and #t (or 'damn 'you 'spammers))'?
Visually impaired? Let me spell it for you (wav file) download WAV