Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

UDP bind and "Don't fragment" flag

843790Oct 12 2007 — edited Oct 14 2007
I am looking for a way to set "Don't fragment" flag when sending and receiving UDP packets.

I could not find a way to set these headers in Java 5 or Java 6. I found RockSaw raw socket library. Which lets me do that. Here are the APIs:

http://www.savarese.org/software/rocksaw/api/
http://www.savarese.org/software/vserv-tcpip/api/

But looks like this RockSaw does not seem to have a way to bind to specific port to for UDP packets. Am I missing something?

Can somebody suggest a way to bind to a UDP port and be able send/receive with "Don't fragment bit" set?

Alternative solutions to accomplish the same thing? I appreciate it.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2007
Added on Oct 12 2007
1 comment
893 views