JXTA Discovery getRemoteAdvertisements() not sending DiscoveryRequest
I am playing with the discovery tutorial and I am finding that it sometimes takes a long time to connect and other times it is very fast. I have been watching the packets using a packet sniffer and I am finding that when getRemoteAdvertisements() is called, this does not translate into an immediate request on the network. I have seen it cycle through the call 3 or 4 times without a single request going out on the line. Is there a timeout setting for this?