[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New patch for server sockets and datagram (UDP) support.
From: |
Kim F. Storm |
Subject: |
Re: New patch for server sockets and datagram (UDP) support. |
Date: |
08 Mar 2002 21:57:55 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
"Stefan Monnier" <monnier+gnu/address@hidden> writes:
> > > > The following special call returns t iff a given KEY VALUE
> > > > pair is supported on this system:
> > > > (make-network-process :feature KEY VALUE) */)
> > >
> > > Hmm... this looks a bit strange. Can you give some examples?
> > > Especially, what do you supply as VALUE?
> > >
> >
> > It simply tests whether using KEY VALUE as arguments to make-network-stream
> > is supported, e.g. :datagram t, :nowait t, :family 'local.
>
> I suggest to use `subfeatures' for that:
>
> (provide 'network '(:datagram :nowait :family ...))
I don't want to invent something new here if it isn't needed, but the
problem here is that the proper setings here are determined at
compile-time, so it's not just a question of putting a (provide...)
line somewhere in a lisp file -- since that information is not
available to lisp [that's why I provided the :feature interface].
>
> so you can then check
>
> (featurep 'network :datagram)
>
But how do you test for availability of :family 'local ?
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Final(?) patch for server sockets and datagram (UDP) support., (continued)
- Re: Final(?) patch for server sockets and datagram (UDP) support., Kim F. Storm, 2002/03/14
- I have installed the patch for server sockets and datagram (UDP) support., Kim F. Storm, 2002/03/17
- Re: New patch for server sockets and datagram (UDP) support., Helmut Eller, 2002/03/07
- Re: New patch for server sockets and datagram (UDP) support., Kim F. Storm, 2002/03/07
- Re: New patch for server sockets and datagram (UDP) support., Helmut Eller, 2002/03/07
- Re: New patch for server sockets and datagram (UDP) support., Kim F. Storm, 2002/03/07
- Re: New patch for server sockets and datagram (UDP) support., Helmut Eller, 2002/03/08
- Re: New patch for server sockets and datagram (UDP) support., Kim F. Storm, 2002/03/08
- Re: New patch for server sockets and datagram (UDP) support., Helmut Eller, 2002/03/08
- Re: New patch for server sockets and datagram (UDP) support., Stefan Monnier, 2002/03/08
- Re: New patch for server sockets and datagram (UDP) support.,
Kim F. Storm <=
- Re: New patch for server sockets and datagram (UDP) support., Stefan Monnier, 2002/03/08
- Re: New patch for server sockets and datagram (UDP) support., Richard Stallman, 2002/03/08
- Re: New patch for server sockets and datagram (UDP) support., Kim F. Storm, 2002/03/13
- Re: New patch for server sockets and datagram (UDP) support., Mario Lang, 2002/03/07
- Re: New patch for server sockets and datagram (UDP) support., Kim F. Storm, 2002/03/07
- Re: New patch for server sockets and datagram (UDP) support., Richard Stallman, 2002/03/08
- Re: New patch for server sockets and datagram (UDP) support., Kim F. Storm, 2002/03/08
- Re: New patch for server sockets and datagram (UDP) support., Helmut Eller, 2002/03/08
- Re: Non-blocking open-network-stream, Helmut Eller, 2002/03/02