Can any one tell me how to set the Source port address in the UDP socket ?. My client application needs to send the Packets from the 57002 port to the server port 58007 .
bind(2) it. Use INADDR_ANY address and your port number.