From f2112ac09d1f825c0191c29abaf6ca84a65e4150 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:05:44 +0000 Subject: Utilisateur : Fcolin Date : 23/01/01 Heure : 13:12 Archivé dans $/Ivy Commentaire: remove 'using name space std;' (vss 4) --- Bus/Ivy/ThreadedSocket.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Bus/Ivy') diff --git a/Bus/Ivy/ThreadedSocket.h b/Bus/Ivy/ThreadedSocket.h index 2fbe8c8..bcdf8e5 100644 --- a/Bus/Ivy/ThreadedSocket.h +++ b/Bus/Ivy/ThreadedSocket.h @@ -20,7 +20,7 @@ public: public: ~CThreadedSocketException() {} - virtual bool GetErrorMessage(string& lpstrError, unsigned int nMaxError, + virtual bool GetErrorMessage(String& lpstrError, unsigned int nMaxError, unsigned int * pnHelpContext = 0); int GetError() { return m_nError; }; private: @@ -49,9 +49,9 @@ public: operator SOCKET() const; - void GetPeerName(string & rPeerAddress, unsigned int& rPeerPort); + void GetPeerName(String & rPeerAddress, unsigned int& rPeerPort); - void GetSockName(string & rSocketAddress, unsigned int& rSocketPort); + void GetSockName(String & rSocketAddress, unsigned int& rSocketPort); // Operations public: @@ -74,7 +74,7 @@ public: virtual int Receive(void* lpBuf, int nBufLen, int nFlags = 0); int ReceiveFrom(void* lpBuf, int nBufLen, - string & rSocketAddress, unsigned int & rSocketPort, int nFlags = 0); + String & rSocketAddress, unsigned int & rSocketPort, int nFlags = 0); enum { receives = 0, sends = 1, both = 2 }; -- cgit v1.1