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/
Re: IPX headers
On Feb 14 20:43, Simon Sasburg wrote: 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) [...] 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? These headers don't exists. Cygwin doesn't support IPX, sorry. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
Re: IPX headers
Hmm, bummer... Well, after a bit of fiddling i got it to link with winsock even when compiling with cygwin. Not exactly what i wanted..., but heh, it works... Simon On 2/14/07, Corinna Vinschen [EMAIL PROTECTED] wrote: On Feb 14 20:43, Simon Sasburg wrote: 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) [...] 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? These headers don't exists. Cygwin doesn't support IPX, sorry. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/ -- 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/