This is the mail archive of the
cygwin
mailing list for the Cygwin project.
IPX headers
- From: "Simon Sasburg" <simon dot sasburg at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 14 Feb 2007 20:43:49 +0100
- Subject: 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/