summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:04:54 +0000
committerfcolin2007-02-01 13:04:54 +0000
commitcc506f8b04ce0506c75321b4d5a25da3ca550876 (patch)
tree85c938b1c5dd90e4632a34453848d99acd013664 /Ivy
parentf2abd2f272583782738a190c0d59a05e86a8198a (diff)
downloadivy-cplusplus-cc506f8b04ce0506c75321b4d5a25da3ca550876.zip
ivy-cplusplus-cc506f8b04ce0506c75321b4d5a25da3ca550876.tar.gz
ivy-cplusplus-cc506f8b04ce0506c75321b4d5a25da3ca550876.tar.bz2
ivy-cplusplus-cc506f8b04ce0506c75321b4d5a25da3ca550876.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')
-rw-r--r--Ivy/ThreadedSocket.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Ivy/ThreadedSocket.cxx b/Ivy/ThreadedSocket.cxx
index 1e20e8e..5f4c183 100644
--- a/Ivy/ThreadedSocket.cxx
+++ b/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;