View Single Post
  #1 (permalink)  
Old 06-03-2008, 10:33 AM
Raghavendra Raghavendra is offline
Member
 
Join Date: Jun 2008
Posts: 2
Raghavendra is on a distinguished road
Regarding UDP Datagram packets
Hi all,

I am sending image over network using UDP datagram packet.

It will work fine data of 65kb length, but when i try to send data of more then 65kb it will through socketException.

To resolve this i have 2 solutions

1. To fragment data which is more the 65 kb into pieces of 65 kb.

Ex : If data is 135 kb i will send it as 3 packets of lengths 65 kb, 65 kb and 5 kb.

Issue 1 : If i use this solution i dont know how to reassemble packets at the receiver side.

2.Another solution to use jumbograms (ipv6).

Issue 2 : I dont how to use jumbograms in java, if any one of u know this please help.

if there any solutions other then above please suggest.

regards
-Raghu
Reply With Quote
Sponsored Links