create JxtaBiDiPipe takes long time
I use the following line to create a bi-directional pipe:
pipe = new JxtaBiDiPipe(peerGroup, pipeAdvertisement, 200000, null, true);
If I set the time out low, e.g. 4000, I can only manage to connect to peer within LAN.
To connect to peer outside my LAN, I set the time out very high e.g. 200000, then it can success.
Is there anyway to lower the time out for pipe creation? i.e. make the pipe creation faster.
Any help is most appreciated.