UDP bind and "Don't fragment" flag
843790Oct 12 2007 — edited Oct 14 2007I 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.