adjust to the protocol change: send "handin\n" first
svn: r17449
This commit is contained in:
parent
237682244c
commit
e423ae7e71
|
@ -49,6 +49,7 @@
|
|||
|
||||
(define (handin-connect server port)
|
||||
(let-values ([(r w) (connect-to server port)])
|
||||
(write+flush w 'handin)
|
||||
;; Sanity check: server sends "handin", first:
|
||||
(let ([s (read-bytes 6 r)])
|
||||
(unless (equal? #"handin" s)
|
||||
|
|
Loading…
Reference in New Issue
Block a user