Actually the broadcast address is 255.255.255.255. In order to send to that address using Winsock you MUST set the socket option SO_BROADCAST to TRUE. If you don''t you will get an Access Denied error for that socket when you try to send to the broadcast address (INADDR_BROADCAST).
Just look at the above code guys, it does work - honestly
Dire Wolfwww.digitalfiends.com