Monday, September 9, 2002 03:21 AM
I can think of two options.
1) when a client is alive, it broadcasts its existence to a multicast address (not a "pure" RMI implementation) and every client maintains a list of near-by clients' addresses.
2) there is some global server, which maintains a list of clients online, and every client registers itself to that server (doesn't meet the "no server" requirement).
I'm not too familiar with Java networking technologies, especially not with ad-hoc systems, so please, don't take my word as the sole truth...