summaryrefslogtreecommitdiff
path: root/Ivy/IvyWatcher.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:42 +0000
committerfcolin2007-02-01 13:03:42 +0000
commit0c05305dc38012e87d470b972cf88aef26f71425 (patch)
tree4b5cc1c2ec5234a6f8c3a70cdf4b510ce0233c7e /Ivy/IvyWatcher.cxx
parent95b2373c6e00b8a57e88008c934634bd8e2e17bd (diff)
downloadivy-cplusplus-0c05305dc38012e87d470b972cf88aef26f71425.zip
ivy-cplusplus-0c05305dc38012e87d470b972cf88aef26f71425.tar.gz
ivy-cplusplus-0c05305dc38012e87d470b972cf88aef26f71425.tar.bz2
ivy-cplusplus-0c05305dc38012e87d470b972cf88aef26f71425.tar.xz
Utilisateur : Fcolin Date : 23/01/01 Heure : 13:12 Archivé dans $/Ivy Commentaire: remove 'using name space std;' (vss 3)
Diffstat (limited to 'Ivy/IvyWatcher.cxx')
-rw-r--r--Ivy/IvyWatcher.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ivy/IvyWatcher.cxx b/Ivy/IvyWatcher.cxx
index 099e670..a363bdc 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() );