cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: test suite on windows (was Re: HTTPS via schannel not working with multi-interface)

From: Guenter <lists_at_gknw.net>
Date: Wed, 11 Jul 2012 03:25:06 +0200

Am 10.07.2012 21:26, schrieb Guenter:
> Am 09.07.2012 17:27, schrieb Daniel Stenberg:
>> On Mon, 9 Jul 2012, Guenter wrote:
>>> yes, the ftp test server is now re-written in C and not yet 'ported'
>>> to Windows - means we need to add some winsock stuff like initializing
>>> at least
>>
>> Right, 'sockfilt' is a little C tool that does the actual raw
>> communication between the perl FTP server and the socket. But I can't
>> see any big reason why it shouldn't work with some minor edits like
>> winsock initializing.
ok, I didnt look carefully anough - the Winsock initialisation is
already there in sockfilt.c; so remains this one which needs to be fixed:
#ifdef USE_WINSOCK
   /*
   ** WinSock select() does not support standard file descriptors,
   ** it can only check SOCKETs. Since this program in its current
   ** state will not work on WinSock based systems, next line is
   ** commented out to allow warning-free compilation awaiting the
   ** day it will be fixed to also run on WinSock systems.
   */
#else
   FD_SET(fileno(stdin), &fds_read);
#endif

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-11