From 3ac6d4f575306385ad90fce0a22901afa301132e 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) --- Ivy/ThreadedSocket.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Ivy') diff --git a/Ivy/ThreadedSocket.h b/Ivy/ThreadedSocket.h index 2fbe8c8..bcdf8e5 100644 --- a/Ivy/ThreadedSocket.h +++ b/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