scsh-users
[Top] [All Lists]

socket problems

To: scsh@martigny.ai.mit.edu
Subject: socket problems
From: shivers@ai.mit.edu (Olin Shivers)
Date: 15 Apr 1996 00:16:42 -0400
Organization: Artificial Intelligence Lab, MIT
Reply-to: shivers@ai.mit.edu
    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

<Prev in Thread] Current Thread [Next in Thread>
  • socket problems, Olin Shivers <=