in the NetBurner Runtime Library is an error in section 24.2.3 and 24.2.4. It says:
That's not true as far as I discovered. If the local port is set to 0 there is no random port number chosen internally. Instead it will be 0 and further write function calls like sendto() for that socket will return -2 (UDP_ERR_NOTOPEN_TO_WRITE).local_port : Local port number to use. A value of 0 will automatically select a random port number.
Please update the documentation. It took me quite a while to fix it in my application. Maybe you can further add the return code to the Runtime Library documentation that are defined in udp.h.
Stephan