> Tassilo also suggested that the problem might arise from multiple typedefs. > Picking up on that, what would happen if you rewrote: > SOCKET listenSocket = 0; > as: > u_int listenSocket = 0; > > (since winsock2.h typedefs 'SOCKET' as a 'u_int'). > > Cheers, > Rob
Good try Rob. I just tried your suggestion (u_int listenSocket = 0;) with the same bad results :-( Please note that now I only have these #include <EXTERN.h> #include <perl.h> two header lines and I've REMmed out all other header lines completely. //#include <windows.h> //#include <stdio.h> Joe