diff options
author | fcolin | 2007-02-01 13:05:44 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:05:44 +0000 |
commit | 3ac6d4f575306385ad90fce0a22901afa301132e (patch) | |
tree | 0b9d281b918f7661c34aabbf88e3ee5245cd61a1 /Ivy/ThreadedSocket.h | |
parent | 99d788dbb3bad0d82be026054d88f9245b0c5bcf (diff) | |
download | ivy-cplusplus-3ac6d4f575306385ad90fce0a22901afa301132e.zip ivy-cplusplus-3ac6d4f575306385ad90fce0a22901afa301132e.tar.gz ivy-cplusplus-3ac6d4f575306385ad90fce0a22901afa301132e.tar.bz2 ivy-cplusplus-3ac6d4f575306385ad90fce0a22901afa301132e.tar.xz |
Utilisateur : Fcolin Date : 23/01/01 Heure : 13:12 Archivé dans $/Ivy Commentaire: remove 'using name space std;' (vss 4)
Diffstat (limited to 'Ivy/ThreadedSocket.h')
-rw-r--r-- | Ivy/ThreadedSocket.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 };
|