delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/03/19:32:17

From: jp AT nuancecom DOT com (JP Shipherd)
Subject: sockets and mingwin32
3 Mar 1997 19:32:17 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.32.19970303180625.00c828a0.cygnus.gnu-win32@awesome.nuance.com>
Mime-Version: 1.0
X-Sender: jp AT awesome DOT nuance DOT com
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Has anyone gotten sockets to work with the minwin32 stuff?

Does it use the winsock.dll?

What files should be included?  I've been trying to use 
#include <Windows32/Sockets.h>

but the cygwin headers keep creeping in and I get errors like:

C:\gnu32\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/../..
/../
.../i386-cygwin32/include/sys/types.h:131: warning: `FD_SET' redefined
/gnu32/win32/include/Windows32/Sockets.h:152: warning: this is the location
of t
he previous definition
C:\gnu32\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/../..
/../
.../i386-cygwin32/include/sys/types.h:132: warning: `FD_CLR' redefined
/gnu32/win32/include/Windows32/Sockets.h:144: warning: this is the location
of t
he previous definition

Is the i386-cygwin32/include path built into gcc (g++)?  It's not in any of
my include env vars:

declare -x
CPLUS_INCLUDE_PATH="/gnu32/mingw32/include:/gnu32/mingw32/include/non
ansi:/gnu32/win32/include"
declare -x
C_INCLUDE_PATH="/gnu32/mingw32/include:/gnu32/mingw32/include/nonansi
:/gnu32/win32/include"

Scratching my head over sockets,
--jp

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019