I am working on a C++ server/.NET client applications couple in which my server (which runs the c++ on linux) broadcasts a message to show it\'s alive to the whole network and m
You also have to enable the SO_BROADCAST socket option in C++ to send broadcast traffic, or you'll get a permission denied error:
int broadcastPermission = 1; setsockopt(socketDescriptor, SOL_SOCKET, SO_BROADCAST, (void*)&broadcastPermission, sizeof(broadcastPermission))