From: Goffioul Michael <goffioul@im...> - 2005-02-14 08:40:13
> Goffioul Michael wrote:
> >Attached is a further hacked version of sockets.lisp, which=20
> >pseudo UNIX socket for WIN32 using named pipes. Have fun.
> Hehe, now that I had almost integrated the old file=20
> 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 =3D sizeof(struct sockaddr_un);
Maybe a stupid question, but isn't sun_len supposed to hold the
length of sun_path?