I have a problem with setting the TTL on my Datagram packets. I am calling the setTTL(...) method on the packet before sending the packet to the multicastSocket but if ...
With the advent of NIO most socket types could be "selectable" through the SelectableChannel implementation. Unfortunately the DatagramChannel does not support multicast prior to java 7. Multicast is supported ...
I've got some code which iterates through all network interfaces and joins the multicast group on each valid interface, however it doesn't appear to be working.
Hello, I have two small programs, one server that sends out messages and clients that receive it. Server runs on Linux with two (2) NICs and broadcasts. I've set it to broadcast to 192.168.110.255:6666 and then client joins 230.0.0.1:6666. Otherwise nothing is being received. So the problem is that this client receives one packet twice. Maybe I'm doing something totally wrong. ...
I have a small question... pls give me solution will a program with "MulticastSocket" communication work on Two PCs connected via CAT-5 cross connected cable????? bcoz i dont have a LAN for testing my prog I have only option to connect my PC with my Laptop waiting for our reply many thanks in advance....