} } } protected int isBuddy( Peer peer ) { String peer_ip = peer.getIp();