emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New patch for server sockets and datagram (UDP) support.


From: Stefan Monnier
Subject: Re: New patch for server sockets and datagram (UDP) support.
Date: Fri, 08 Mar 2002 11:36:00 -0500

> > > 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 ...))

so you can then check

   (featurep 'network :datagram)


-- Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]