Skip to Main Content

Java APIs

How to send jumbogram of IPV6 using java MulticastSocket

3318282Sep 22 2016 — edited Sep 24 2016

i have IPv6 enabled in my system.

i am creating  Multicast Socket on IPv6 multicast address i.e FF01::101

i am creating datagramPacket with variable payload  of size which is greater that 64K i.e new DatagramPacket(msg.getBytes(), 0, group, 5555)

if i set length parameter of Datagrampacket to length grater that 64k program throws exception.

but when set this parameter  0 there is no exception but at receiver i do not get any data.

kindly help if i am missing anything that needs to be set to enable Jumbogram packet sending using java.

Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2016
Added on Sep 22 2016
1 comment