Source Port in UDP

Just starting out? Need help? Post your questions and find answers here.
BabyBacon
New User
New User
Posts: 8
Joined: Wed Feb 01, 2006 11:47 pm
Location: Sweden

Source Port in UDP

Post by BabyBacon »

Hello!

Im rewriting an application for filtransfer between nodes over UDP thats behind NAT. To make this work I need to beable to set the sourceport in the UDP-packet. I found UDPlib at purearea.net, it works nice and all but its not possible to set the sourceport.

Maybe there is an other way to do it? is it possible with API, or should I call an external program written in a language that support this function so it make the sending part?

Perhaps there will be support for UDP in PB v4.0?

//Bacon
Crapholio is coming to town!
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

UDP is included in the recent PB4 Beta. Though I don't know whether it supports a source port as parameter.
<°)))o><²³
Post Reply