[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Winsock wrappers
From: |
Bruno Haible |
Subject: |
Re: Winsock wrappers |
Date: |
Thu, 9 Oct 2008 03:41:36 +0200 |
User-agent: |
KMail/1.5.4 |
Hi Simon,
> I have seen Bruno's recent patch to add separate modules for each and
> every socket function. That's a better approach IMHO.
>
> Further, as far as I can tell, Bruno's gnulib module descriptions will
> pull in the winsock file when needed.
That's because Paolo and I are not yet completely done with the modularization
of <sys/socket.h>: close() and ioctl() still to be done. I intended to
remove this unconditional AC_LIBOBJ(winsock) when the job was done.
> GnuTLS only calls recv+send from the POSIX
> socket functions (the rest are called by the application), and it
> handles Windows error codes internally. Thus, I don't want send/recv to
> be replaced by gnulib, but I want a sys/socket.h header file.
Still, you will have to #undef recv and #undef send, to undo the link error
arrangement done by gnulib (because the case of wanting module 'sys_socket'
but not 'recv' or 'send' is much more likely to be a mistake than an
intended configuration).
Bruno
- Winsock wrappers, Simon Josefsson, 2008/10/08
- Re: Winsock wrappers,
Bruno Haible <=
- Re: Winsock wrappers, Simon Josefsson, 2008/10/09
- Re: Winsock wrappers, Paolo Bonzini, 2008/10/09
- Re: Winsock wrappers, Simon Josefsson, 2008/10/09
- Re: Winsock wrappers, Paolo Bonzini, 2008/10/09
- Re: Winsock wrappers, Simon Josefsson, 2008/10/09
- Re: Winsock wrappers, Paolo Bonzini, 2008/10/09
- Re: Winsock wrappers, Simon Josefsson, 2008/10/09
- Re: Winsock wrappers, Bruno Haible, 2008/10/10
- Re: Winsock wrappers, Simon Josefsson, 2008/10/10
- Re: Winsock wrappers, Paolo Bonzini, 2008/10/10