code for simple raw socket pinging on win32 (winsock2 API)