It seems to be that the implementation required to set up a UDP multicast socket has changed between windows XP and windows vista. Specifically:
I\'m trying to write a server running under nodejs that is just supposed to be a socket server; not supposed to accept http requests at all.Here\'s how I am setting it up:
#include <sys/socket.h> #include <arpa/inet.h> #include <stdio.h> #include <stdlib.h>
i want fetch UDP packet, so i write this code: <?PHP error_reporting(-1); $socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);