Hi All,
Is there any way that I can broadcast an UDP packet in a WLAN ?
At the same time, can we get the source address of such received socket ?
Regards,
Primal
Hi All,
Is there any way that I can broadcast an UDP packet in a WLAN ?
At the same time, can we get the source address of such received socket ?
Regards,
Primal
Hi,
I managed to broad cast the message. What I need now is to get the source IP address of the broadcast socket ?
Can we get the source address of a recieved socket ?
Regards,
Primal
Since you probably use RecvFrom for receiving, you might consider checking what happens with the passed TSockAddr.
Thanx wizard_hu,
When i check the destAddr specified in the RecvFrom method, i got the source address the broadcast packet.
Regards,
Primal