UDP broadcast send from PHP and receive in C?

Try specifying the MSG_DONTROUTE flag in your script. Taking inspiration from this CodeGuru post if this isn't specified the routers make the decision on whether or not to broadcast your message.

255.255.255.255 is a "limited" broadcast whereas your 192.168.1.255 is a "directed" broadcast. Limited in simple terms means that it is only send within the LAN. LAN as defined by directly connected hosts, i.e.

With no router in between. Routers--with a few exceptions--do not pass a limited broadcast but a directed broadcast.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions