How to send a udp packet with a fixed source udp port?

Submitted by Anonymous
on April 3, 2008 - 5:32pm

Hi all,

Is there a way to send a udp packet with a fixed source port? Which library function I can call to set a known source port before I send out a udp packet with the sendto()? Thanks.

Jacob

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.