summaryrefslogtreecommitdiff
path: root/Bus
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:42 +0000
committerfcolin2007-02-01 13:03:42 +0000
commitb4225c324ed72ccf110531a058479968b3c38f5e (patch)
treeff1cf6385a3eeac33cffcf921e72c41104029bf0 /Bus
parentb980f71587600313514b15d12b2c4298ab4f0d82 (diff)
downloadivy-cplusplus-b4225c324ed72ccf110531a058479968b3c38f5e.zip
ivy-cplusplus-b4225c324ed72ccf110531a058479968b3c38f5e.tar.gz
ivy-cplusplus-b4225c324ed72ccf110531a058479968b3c38f5e.tar.bz2
ivy-cplusplus-b4225c324ed72ccf110531a058479968b3c38f5e.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 'Bus')
-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() );