Commit cbb72b17 authored by Ulrich Kemloh's avatar Ulrich Kemloh

resetting server and client address to localhost

parent ae90dfe1
......@@ -54,9 +54,9 @@ HybridSimulationManager::HybridSimulationManager(const std::string& server,
_externalServerPort = port;
//get the canonical hostname
char hostname[1024];
gethostname(hostname, 1024);
//char hostname[1024];
//gethostname(hostname, 1024);
......@@ -57,7 +57,7 @@ private:
int _externalServerPort=9999;
int _internalServerPort=9998;
std::string _externalServerName="localhost";
std::string _internalServerName="";
std::string _internalServerName="localhost";
Building* _building=nullptr;
//TODO: the method should be passed bz reference in the main function
//std::unique_ptr<grpc::Server> _rpcServer;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment