I'm writing a MFC program and want to detect all the nodes in one subnet.
I know a boradcast message will let me get replys from all the nodes in this subnet. But, how can I send a boradcast message in VC++. (Put the taget address as 18.104.22.168?( a broadcast address)).
And how could I handle a lot of replies which might come almost together?