Use WinSock. I think gamedev has a tutorial on it.
"Du kan kalla mig idiot, det har jag inget emot.
Jag är en idiot."
-Bob Hund
(It's swedish, means:
"You can call me an idiot, I don't care.
I am an idiot.")
If you use Winsock for IPX programming, you have to use Winsock 2.0. Winsock 1.1 and earlier doesn't support IPX as a socket creation option. But once the IPX socket is created, you can pretty much treat it like any other Winsock socket.
I am working on a game with Allegro, with versions for DOS, Windows and Linux. I would like to know if there is a way of programming IPX under windows without having to use DirectPlay (which makes the versions incompatible with each other)?