delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/13/05:37:14

From: vischne AT ibm DOT net
Subject: Re: mywinsock.h
13 Jan 1998 05:37:14 -0800 :
Message-ID: <199801122353.XAA63286.cygnus.gnu-win32@out1.ibm.net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

>   Brent Flannery (brentf AT linknet DOT net)
>Continuing with my problem... (which may simply not be solvable at this
>point) I see there are no definitions for the unix ip and iphdr and udp
>either in mywinsock.h or in any of the include dir's.. am I just out of luck
>here?:(
>
Not exactly.  If you are porting Unix apps, they won't reference winsock.h
at all, and they will get <sys/socket.h> or something that will end up
putting them in <cygwin32/*.h> where their winsocket calls will be modified
to
	cygwin_gethostname(...) instead of gethosthame(...)
or whatever.

If you use the gnu winsock.h, you'll find that it is buggy (`alpha'),
and that you can fix it by going through it putting in ifdefs for all
the <sys/*.h> files it includes without protecting with ifdefs.

-
For help on using this list (especially unsubscribing), 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