summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:44 +0000
committerfcolin2007-02-01 13:03:44 +0000
commita30fc57b42e9b6846aab57d41f34291da563bdaa (patch)
tree0cafab985d4d3acdd7a02f67d24f63aa4c7a8639 /Ivy
parent0c05305dc38012e87d470b972cf88aef26f71425 (diff)
downloadivy-cplusplus-a30fc57b42e9b6846aab57d41f34291da563bdaa.zip
ivy-cplusplus-a30fc57b42e9b6846aab57d41f34291da563bdaa.tar.gz
ivy-cplusplus-a30fc57b42e9b6846aab57d41f34291da563bdaa.tar.bz2
ivy-cplusplus-a30fc57b42e9b6846aab57d41f34291da563bdaa.tar.xz
Utilisateur : Fcolin Date : 31/01/01 Heure : 11:18 Archivé dans $/Ivy (vss 4)
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/IvyWatcher.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ivy/IvyWatcher.cxx b/Ivy/IvyWatcher.cxx
index a363bdc..099e670 100644
--- a/Ivy/IvyWatcher.cxx
+++ b/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() );