diff --git a/examples/fed-filter.cc b/examples/fed-filter.cc index b0bdd4b..92184a1 100644 --- a/examples/fed-filter.cc +++ b/examples/fed-filter.cc @@ -16,6 +16,7 @@ SPDX-License-Identifier: BSD-3-Clause #include #include "helics/core/helicsCLI11.hpp" #include "helics/core/helicsVersion.hpp" +#include "helics/application_api/timeOperations.hpp" int main (int argc, char *argv[]) { diff --git a/model/helics-application.cc b/model/helics-application.cc index b113c97..6384f45 100644 --- a/model/helics-application.cc +++ b/model/helics-application.cc @@ -378,7 +378,7 @@ HelicsApplication::Send (std::string dest, helics::Time time, std::unique_ptrGetName() << "' at address " << address.GetIpv4() - << " port " + << " port '" << address.GetPort() << "' uid '" << p->GetUid () <<"'"); @@ -409,7 +409,7 @@ HelicsApplication::Send (std::string dest, helics::Time time, std::unique_ptrGetName() << "' at address " << address.GetIpv6() - << " port " + << " port '" << address.GetPort() << "' uid '" << p->GetUid () <<"'"); @@ -517,7 +517,7 @@ HelicsApplication::HandleRead (Ptr socket) << size << " bytes at address " << InetSocketAddress::ConvertFrom (from).GetIpv4 () - << " port " + << " port '" << InetSocketAddress::ConvertFrom (from).GetPort () << "' sdata '" << sdata @@ -546,7 +546,7 @@ HelicsApplication::HandleRead (Ptr socket) << size << " bytes at address " << Inet6SocketAddress::ConvertFrom (from).GetIpv6 () - << " port " + << " port '" << Inet6SocketAddress::ConvertFrom (from).GetPort () << "' sdata '" << sdata