| version 1.2 | | version 1.3 |
|---|
| | |
| */ | | */ |
| /* do a socket call, then bind to this port */ | | /* do a socket call, then bind to this port */ |
| // sock = socket(AF_IPX, SOCK_DGRAM, PF_IPX); | | // sock = socket(AF_IPX, SOCK_DGRAM, PF_IPX); |
| sock = socket(AF_IPX, SOCK_DGRAM, 0); | | // sock = socket(AF_IPX, SOCK_DGRAM, 0); |
| | | sock = socket(AF_IPX, SOCK_DGRAM, NSPROTO_IPX);//why NSPROTO_IPX? I looked in the quake source and thats what they used. :) -MPM (on w2k 0 and PF_IPX don't work) |
| if (sock == -1) { | | if (sock == -1) { |
| mprintf((1,"IPX: could not open IPX socket.\n")); | | mprintf((1,"IPX: could not open IPX socket.\n")); |
| return -1; | | return -1; |