[Ecls-list] Pseudo UNIX socket for WIN32
Goffioul Michael
goffioul at imec.be
Mon Feb 14 00:41:27 UTC 2005
> Goffioul Michael wrote:
>
> >Attached is a further hacked version of sockets.lisp, which
> implements
> >pseudo UNIX socket for WIN32 using named pipes. Have fun.
> >
> Hehe, now that I had almost integrated the old file
> sockets.lisp... :-)
Well, it's more for fun than for real integration :-)
Maybe that's not a good idea to mix the 2 concepts of UNIX
socket and Windows named pipes. A safer way would be to use
a separate class like named-pipe-socket, or even to separate
it completely from the BSD-SOCKETS package (for example,
the setsockopts doesn't make sense with named pipes).
> BTW, a question for the unix hackers here. Julian's code had this
> sockaddr.sun_len = sizeof(struct sockaddr_un);
Maybe a stupid question, but isn't sun_len supposed to hold the
length of sun_path?
Michael.
More information about the ecl-devel
mailing list