From: mwh@gradine.cis.upenn.edu (Michael Hicks)
Subject: scsh sockets: help!
I am having trouble getting simple socket stuff to work.
I don't have time to look carefuly at your code right now -- gotta do my
taxes. Are you sure your C code is right? Did you check your scsh server code
against my web server -- it works, so it's a known example of a working use of
the scsh sockets.
And by the way, this:
(list->string (map (lambda (x) (ascii->char x))
'(0 0 0 4 65 65 65 65)))))
is probably not as good as this:
"\0\0\0\4\65\65\65\65"
Scsh allows the ANSI C escapes in strings (but note this is not, of course,
R4RS). See section 1.5.2 in the current manual.
-Olin
|