yes i know what that error means
It is WSAEACCES (10013)
From MSDN (October 2000):
WSAEACCES [/B](10013)
Permission denied.

An attempt was made to access a socket in a way forbidden by its access permissions. An example is using a broadcast address for "sendto" without broadcast permission being set using setsockopt(SO_BROADCAST).
From the MSDN sendto:
WSAEACCES
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.
but i then started adding all the error messages so the problem was never solved. what do i need to do to fix it?