bug-gnulib
[Top][All Lists]
Advanced

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

Re: sockets.h comment


From: Simon Josefsson
Subject: Re: sockets.h comment
Date: Tue, 11 Nov 2008 10:18:06 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Hi Simon,
>
> Naive as I was, I wanted to use the 'sockets' module, specifying the minimum
> possible requirement for winsock. Bummer! This version is not supported
> any more on Windows XP. I propose to put a comment about it. OK?

Yes, please do.  Maybe also add a link to

http://msdn.microsoft.com/en-us/library/ms742213(VS.85).aspx

which contains much additional information?  It says 1.0 should work,
but I've also noticed that it doesn't, and generally use 1.1 or 2.1
instead.  This seems like a common problem with MSDN, e.g., the
documentation says getaddrinfo should be available in all Windows
versions, but it doesn't exist on Windows 2000 for example (IIRC).

/Simon

>
> 2008-11-10  Bruno Haible  <address@hidden>
>
>       * lib/sockets.h: Add a comment.
>
> --- lib/sockets.h.orig        2008-11-11 01:25:47.000000000 +0100
> +++ lib/sockets.h     2008-11-11 01:25:45.000000000 +0100
> @@ -20,9 +20,9 @@
>  #ifndef SOCKETS_H
>  # define SOCKETS_H 1
>  
> -#define SOCKETS_1_0 0x100
> +#define SOCKETS_1_0 0x100  /* don't use - does not work on Windows XP */
>  #define SOCKETS_1_1 0x101
> -#define SOCKETS_2_0 0x200
> +#define SOCKETS_2_0 0x200  /* don't use - does not work on Windows XP */
>  #define SOCKETS_2_1 0x201
>  #define SOCKETS_2_2 0x202
>  




reply via email to

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