FutureDiscover discovery = myPeer.discover().peerAddress(bootstrapServerPeerAddress).start();
discovery.awaitUninterruptibly();
if (!discovery.isSuccess()) {
System.err.println("no success!");
}
System.err.println("Peer: " + discovery.reporter() + " told us about our address.");
InetSocketAddress myInetSocketAddress = new InetSocketAddress(myPeer.peerAddress().inetAddress(), port);
bootstrapServerPeerAddress = discovery.reporter();
FutureBootstrap bootstrap = myPeer.bootstrap().peerAddress(bootstrapServerPeerAddress).start();
bootstrap.awaitUninterruptibly();