path: root/windows_port.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-24build: move platform stuff to ares_platform.c and ares_platform.hYang Tse1-39/+0
2011-03-23build: find out windows platform using GetVersionEx()Yang Tse1-0/+39
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse1-1/+1
2008-09-17adjust inclusion of "nameser.h"Yang Tse1-15/+0
2008-09-16rearrange to allow internal/private use of ares_writev to any systemYang Tse1-31/+0
that lacks the writev function.
2008-09-15rearrange to allow internal/private use of ares_strcasecmp to any system thatYang Tse1-21/+0
lacks the strcasecmp function.
2008-05-09Use monotonic time source if available.Yang Tse1-31/+0
2007-02-19Fixed typo.Gisle Vanem1-1/+1
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse1-1/+1
2007-02-13use our own ISUPPER and ISLOWER macrosYang Tse1-2/+2
2007-02-04Use correct calling convention.Gisle Vanem1-2/+3
2007-02-04Added DllMain() function for Watcom.Gisle Vanem1-0/+13
2006-07-28Replace send() and recv() with swrite() and sread() macros.Yang Tse1-1/+1
2006-07-222nd try adding CVS id.Gisle Vanem1-1/+1
2006-07-22Added CVS id.Gisle Vanem1-0/+2
2004-11-10Replace IsNT with IS_NT().Gisle Vanem1-7/+13
Return correct timeval in windows_port.c. Squelch gcc warnings: use 'ares_socket_t' in ares_fds.c. Don't cast a 'lvalue' in ares_init.c.
2004-08-20Changes for Watt-32 on Windows. I've assumed ConfigureGisle Vanem1-4/+12
sets the required HAVE_xx defines for non-DOS/Win targets.
2004-07-29removed C++ comment to please picky source checkersDaniel Stenberg1-1/+3
2004-07-24Gisle Vanem:Daniel Stenberg1-0/+34
Basically in loops like handle_errors(), 'query->next' was assigned a local variable and then query was referenced after the memory was freed by next_server(). I've changed that so next_server() and end_query() returns the next query. So callers should use this ret-value. The next problem was that 'server->tcp_buffer_pos' had a random value at entry to 1st recv() (luckily causing Winsock to return ENOBUFS). I've also added a ares_writev() for Windows to streamline the code a bit more.
2004-07-22- Fixed a few variable return types for some system calls. Made configureDaniel Stenberg1-15/+7
check for ssize_t to make it possible to use that when receiving the send() error code. This is necessary to prevent compiler warnings on some systems. - Made configure create config.h, and all source files now include setup.h that might include the proper config.h (or a handicrafted alternative). - Switched to 'ares_socket_t' type for sockets in ares, since Windows don't use 'int' for that. - automake-ified and libool-ified c-ares. Now it builds libcares as a shared lib on most platforms if wanted. (This bloated the size of the release archive with another 200K!) - now uses for the c sources, h headers and man pages, to make it easier for other makefiles to use the exact same set of files. - Adjusted 'maketgz' to use the new automake magic when building distribution archives.
2004-03-09mingw has str(n)casecmp() functionsDaniel Stenberg1-0/+2
2004-02-04prevent the windows version to use global symbol namesDaniel Stenberg1-2/+2
added prototypes for the strcasecmp() functions
2004-01-04Dominick Meglio's fix to make our private gettimeofday() use the ares_Daniel Stenberg1-1/+1
2003-10-07ares 1.1.1 with collected applied patchesDaniel Stenberg1-0/+61