This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

IPX headers


Ok so i'm trying to port a C winsock ipx application of mine to cygwin.

problem is i can't find the needed IPX constants (or headers that contain them).

with winsock this works:
   SOCKET ipx_sock = socket(AF_IPX, SOCK_DGRAM, NSPROTO_IPX);
when including
   #include <winsock2.h>
   #include <Wsipx.h>

now in cygwin it can't find the AF_IPX and NSPROTO_IPX constants (i
typedeffed SOCKET to int already)
this are the headers I included: (i dont include the winsock ones when
compiling with cygwin)
   #include <unistd.h>
   #include <netinet/in.h>
   #include <arpa/inet.h>
   #include <sys/types.h>
   #include <sys/socket.h>
   #include <stdlib.h>

from looking around google i found that these constants might be found
in these headers on a 'real' unix system :
   #include <net/ipx.h>
   #include <linux/ipx.h>
   #include <netipx/ipx.h>

but when compiling with cygwin it can't find any of these headers.

Where might the needed headers/constants be found on a cygwin system?
do i need to install any special packages for this?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]