This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: mywinsock.h
- To: gnu-win32 at cygnus dot com
- Subject: Re: mywinsock.h
- From: vischne at ibm dot net
- Date: Mon, 12 Jan 1998 23:53:52 GMT
> Brent Flannery (brentf@linknet.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@cygnus.com" with one line of text: "help".