Hi there, thanks for the reply, but I've tried the methods suggested (just
using windows.h and #define Win32_Winsock), also as Win32_Winsock is
deprecated, I also tried defining __USE_W32_SOCKETS
but I'm still receiving the same error:
I get the following error:
"iphdrinc.o(.text+0x820):iphdrinc
Hi there, I've recently been trying some programming with sockets in
windows, and I obtained the following code from a microsoft book called
"Network programming for microsoft windows"...
the code is as follows:
// Module Name: iphdrinc.c
//
#pragma pack(1)
#define WIN32_LEAN_AND_MEAN
#include
2 matches
Mail list logo