summaryrefslogtreecommitdiff
path: root/Bus/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:44 +0000
committerfcolin2007-02-01 13:03:44 +0000
commit9d5e38db0c4cd392f4d0be4da8628ec944f47de2 (patch)
tree6f12b3f3afe4233bb4c6c06ec17de4726229737d /Bus/Ivy
parentb4225c324ed72ccf110531a058479968b3c38f5e (diff)
downloadivy-cplusplus-9d5e38db0c4cd392f4d0be4da8628ec944f47de2.zip
ivy-cplusplus-9d5e38db0c4cd392f4d0be4da8628ec944f47de2.tar.gz
ivy-cplusplus-9d5e38db0c4cd392f4d0be4da8628ec944f47de2.tar.bz2
ivy-cplusplus-9d5e38db0c4cd392f4d0be4da8628ec944f47de2.tar.xz
Utilisateur : Fcolin Date : 31/01/01 Heure : 11:18 Archivé dans $/Ivy (vss 4)
Diffstat (limited to 'Bus/Ivy')
-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 a363bdc..099e670 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() );