if (connected_server != null) {
server_ip = connected_server.getAddressAsByte();
server_port = connected_server.getPort();
client_id = connected_server.getClientID();
}
Packet packet = PacketFactory.getPeerHelloAnswerPacket(
_config_manager.getUserHash(), client_id, _config_manager
.getTCP(), _config_manager.getNickName(),
server_ip, server_port, E2DKConstants.DefaultJMuleFeatures);
connection.send(packet);
Packet emule_hello_packet = PacketFactory.getEMulePeerHelloPacket();
connection.send(emule_hello_packet);
} catch (Throwable cause) {
cause.printStackTrace();
}