Hi Simon,

> > The return type should be SOCKET, which is either `unsigned int' or
> > 'unsigned long' (don't know about win64).
> 
> How would that work on non-Mingw systems?  The idea should be that gsasl
> calls the function unconditionally, in order to work around limitations
> of the gnulib winsock wrappers.

Hmm, I thought the function would be defined only on native Win32 systems,
since its return type 'SOCKET' does not exist on Unix, and we don't want
Win32 types to be used in code meant to compile on Unix. (Emulate POSIX
on Win32, not vice versa.)

But I have no definite opinion on this.

Bruno



Reply via email to