Is there a way to specify a particular port for UDP sockets to send packets *out* of? I've tried using bind(), and it does in fact seem to bind the socket (using netstat to check), but using sendto() the packets are still sent from an arbitrary port. I don't have all that much experience with UDP, but that seems strange....

Any help would be appreciated.