diff options
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 };
|