Quote Originally Posted by beginner91 View Post
yes i know what that error means
Then why do you ignore the way to fix it:
The requested address is a broadcast address, but the appropriate flag was not set. Call setsockopt with the SO_BROADCAST parameter to allow the use of the broadcast address.