Results 1 to 2 of 2
- 05-30-2011, 01:38 PM #1
Member
- Join Date
- May 2011
- Posts
- 1
- Rep Power
- 0
Multicast receive not happening in multiple interface or multi NIC
Hi All,
I have a machine with two NICs. One is present in a subnet (eth0), and the other NIC is exposed to a private network(eth1). The default interface is eth0. Now, if I send a multicast request through some protocol say, SLP, the multicast socket.receive method is not accepting any datagram packet through the non-deault interface. I tried setting the network interface and interface explicitly. but this is not helping. The receive method is blocked and not receiving any datagrams. Help would be appreciated to receive the datagrams in the non-default interface.
- 06-07-2011, 07:22 AM #2
If you are trying it through Java's core networking packages then, it may not be possible. When I had a requirement to do some handling over the packets ( which is eventually not possible with Java ) I came across third-party libraries called Jpcap. They help in monitoring packet flow, capturing them, managing NIC's etc. You can try them at Jpcap - a Java library for capturing and sending network packets
These libraries help you in listing out the NIC's and selecting one in order to use it.Last edited by Mrc0d3r; 06-07-2011 at 07:27 AM.
Similar Threads
-
I don't know what is happening
By Fred1 in forum New To JavaReplies: 2Last Post: 04-27-2011, 11:21 PM -
Multiple GUI Interface Instances
By mutagen in forum AWT / SwingReplies: 2Last Post: 03-19-2011, 03:06 PM -
Interface to connect multiple databases
By sruz in forum Advanced JavaReplies: 1Last Post: 11-04-2009, 03:20 PM -
Multicast group seems to be a noop
By toadaly in forum Advanced JavaReplies: 0Last Post: 04-10-2009, 06:31 AM -
Java code that allows me to make and receive calls, send and receive sms
By nareshbabu@live.in in forum NetworkingReplies: 0Last Post: 12-02-2008, 10:55 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks