Re: rawsock on windows

Daniel Jour <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <CACZHyTMzz8RuS+pwr6h3v-uB1cVCmrCq03BLfeTuB8CQQXfTyQ@mail.gmail.com>
> all you need to do is "#include <netdb.h>" unconditionally.
> http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00338.html

Hm, I think I was a bit unclear about the issue that I have in
mind. Sure we can unconditionally include netdb.h. But we also have no
way to check whether the functions it declares are actually
available. gnulib doesn't (AFAIK) define (e.g.) HAVE_SETNETENT either,
even if it provides a replacement.

Thus we'd get completely unfunctional RAWSOCK:NETWORK and
RAWSOCK:PROTOCOL functions, which is IMO worse than not binding
functions to these symbols at all. (The later can and is tested with
BOUNDP already)

Or am I missing something here?

------------------------------------------------------------------------------
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.