Hello
I'm looking at using MINA for a Gnutella-like p2p protocol
implementation and I need to somehow send a query to a subset of peers I
have a connection to. Apparently MINA doesn't yet support multicast but
can I somehow maintain a list of connections (both accepted incoming and
established outgoing) and have the packet sent a subset of those
connections.
I can get a list of incoming connections from
IoService.getManagedSessions() by specifying localhost as argument but
how do I get outgoing connections? Also I think I need a functions
similar to BroadcastIoSession.write() for sending packets to chosen
connections, but I can't find this interface implemented anywhere.
TIA for any help and sorry if these questions have been already
asked/answered. Please CC any replies to me.
regards,
ziyan maraikar
- Application layer multicast for P2P servent Ziyan Maraikar
-