summaryrefslogtreecommitdiff
path: root/Bus/Ivy/IvyWatcher.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Bus/Ivy/IvyWatcher.cxx')
-rw-r--r--Bus/Ivy/IvyWatcher.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bus/Ivy/IvyWatcher.cxx b/Bus/Ivy/IvyWatcher.cxx
index 099e670..a363bdc 100644
--- a/Bus/Ivy/IvyWatcher.cxx
+++ b/Bus/Ivy/IvyWatcher.cxx
@@ -30,7 +30,7 @@ void IvyWatcher::OnReceive(int nErrorCode)
int err;
int version;
char buffer[256];
- string remotehost;
+ String remotehost;
UINT remoteport;
UINT serviceport;
@@ -74,7 +74,7 @@ void IvyWatcher::OnReceive(int nErrorCode)
void IvyWatcher::start(const char *domainlist)
{
BOOL reuse = TRUE;
- string domain;
+ String domain;
UINT port;
// determine domain to use
domain = bus->GetDomain( domainlist );
@@ -93,7 +93,7 @@ void IvyWatcher::start(const char *domainlist)
SetSockOpt( SO_REUSEADDR, &reuse, sizeof(BOOL) );
Bind(port);
- string addr;
+ String addr;
char hello[1024];
int len = sprintf( hello, "%d %u\n", VERSION, bus->GetApplicationPort() );