From 2621f2e2f4c5b4f4158e6f6a417efe1cfaf98c60 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:04:54 +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.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Bus/Ivy') diff --git a/Bus/Ivy/ThreadedSocket.cxx b/Bus/Ivy/ThreadedSocket.cxx index 1e20e8e..5f4c183 100644 --- a/Bus/Ivy/ThreadedSocket.cxx +++ b/Bus/Ivy/ThreadedSocket.cxx @@ -17,7 +17,7 @@ CThreadedSocketException::CThreadedSocketException(char* pchMessage) m_nError = WSAGetLastError(); } -bool CThreadedSocketException::GetErrorMessage(string & lpstrError, UINT nMaxError, +bool CThreadedSocketException::GetErrorMessage(String & lpstrError, UINT nMaxError, PUINT pnHelpContext /*= NULL*/) { lpstrError = m_strMessage; @@ -77,7 +77,7 @@ void CThreadedSocket::Create(UINT nSocketPort, int nSocketType, -void CThreadedSocket::GetPeerName(string & rPeerAddress, UINT& rPeerPort) +void CThreadedSocket::GetPeerName(String & rPeerAddress, UINT& rPeerPort) { SOCKADDR_IN sockAddr; memset(&sockAddr, 0, sizeof(sockAddr)); @@ -88,7 +88,7 @@ void CThreadedSocket::GetPeerName(string & rPeerAddress, UINT& rPeerPort) rPeerAddress = inet_ntoa(sockAddr.sin_addr); } -void CThreadedSocket::GetSockName(string & rSocketAddress, UINT& rSocketPort) +void CThreadedSocket::GetSockName(String & rSocketAddress, UINT& rSocketPort) { SOCKADDR_IN sockAddr; memset(&sockAddr, 0, sizeof(sockAddr)); @@ -219,7 +219,7 @@ int CThreadedSocket::Receive(void* lpBuf, int nBufLen, int nFlags) return lg; } -int CThreadedSocket::ReceiveFrom(void* lpBuf, int nBufLen, string & rSocketAddress, UINT& rSocketPort, int nFlags) +int CThreadedSocket::ReceiveFrom(void* lpBuf, int nBufLen, String & rSocketAddress, UINT& rSocketPort, int nFlags) { SOCKADDR_IN sockAddr; -- cgit v1.1