ChannelCreator cc = null;
try {
PeerAddress pa = new PeerAddress(Number160.ZERO, Inet4Address.getByName(IP), PORT, PORT);
sender = new PeerBuilder(new Number160("0x9876")).ports(PORT).enableMaintenance(false)
.start();
PingRPC handshake = new PingRPC(sender.peerBean(), sender.connectionBean());
FutureChannelCreator fcc = sender.connectionBean().reservation().create(0, 1);
fcc.awaitUninterruptibly();
cc = fcc.channelCreator();
FutureResponse fr = handshake.pingTCPDiscover(pa, cc, new DefaultConnectionConfiguration());
fr.awaitUninterruptibly();