Menu

#41 proper deftype socket for CMU CL

closed-fixed
port (16)
5
2005-06-24
2005-06-24
No

In CMU CL, while a client socket is simple-socket-stream, a socket
returned by socket-accept is created with
(make-fd-stream (accept-tcp-connection , and this is an fd-stream.

The simplest way to handle it is to declare type socket as stream,
and not simple-socket-stream, in (or cmu scl) (I am not sure about
scl, but there is no trial download there).

Discussion

  • Sam Steingold

    Sam Steingold - 2005-06-24

    Logged In: YES
    user_id=5735

    thanks!

     
  • Sam Steingold

    Sam Steingold - 2005-06-24
    • status: open --> closed-fixed
     

Log in to post a comment.