diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-10-06 16:18:58 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-10-06 16:18:58 +0000 |
commit | a304126403dc5ed49ed1b662d5d51e55d387d645 (patch) | |
tree | d0fe36c3c63f3f401769057f9c9f88a9ed829ae2 /cppe/src/TcpTransport/EndpointFactory.cpp | |
parent | Support "-h *" as well (diff) | |
download | ice-a304126403dc5ed49ed1b662d5d51e55d387d645.tar.bz2 ice-a304126403dc5ed49ed1b662d5d51e55d387d645.tar.xz ice-a304126403dc5ed49ed1b662d5d51e55d387d645.zip |
Bug 395 - support listen on all interfaces
Diffstat (limited to 'cppe/src/TcpTransport/EndpointFactory.cpp')
-rw-r--r-- | cppe/src/TcpTransport/EndpointFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/src/TcpTransport/EndpointFactory.cpp b/cppe/src/TcpTransport/EndpointFactory.cpp index 11b09c7227e..9e44b23af9f 100644 --- a/cppe/src/TcpTransport/EndpointFactory.cpp +++ b/cppe/src/TcpTransport/EndpointFactory.cpp @@ -30,7 +30,7 @@ IceInternal::EndpointFactory::~EndpointFactory() } EndpointPtr -IceInternal::EndpointFactory::create(const std::string& str) const +IceInternal::EndpointFactory::create(const std::string& str, bool adapterEndp) const { const string delim = " \t\n\r"; @@ -52,7 +52,7 @@ IceInternal::EndpointFactory::create(const std::string& str) const if(protocol == "default" || protocol == "tcp") { - return new TcpEndpoint(_instance, str.substr(end)); + return new TcpEndpoint(_instance, str.substr(end), adapterEndp); } return 0; |