Unable to create a UDP socket

Error code 59
Error constant SOCKET_CREATE_UDP
Probable cause

The network layer was unable to create a UDP socket. Check the following: 1) The machine is connected to the network. 2) The socket layer is properly initialized. 3) If the client_port option was used, verify that the given port isn't already in use. If only one client port was specified, consider using a range (for example, NNN-NNN). If a range was specified, consider making it a wider range, or a different range. 4) If the client_port option was used, verify that there are no firewall restrictions on the use of the port. 5) If the device has a limit on the number of open sockets, verify that the limit has not been reached. 6) There are enough system resources available. Free up system resources if they are running low.