summaryrefslogtreecommitdiff
path: root/Bus/Ivy/ThreadedSocket.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:04:54 +0000
committerfcolin2007-02-01 13:04:54 +0000
commit2621f2e2f4c5b4f4158e6f6a417efe1cfaf98c60 (patch)
tree4947450782357de0d8aed94cc34bb21ed000538b /Bus/Ivy/ThreadedSocket.cxx
parent70ec417f72c6e451f11a3d553ba4db0714d0cb60 (diff)
downloadivy-cplusplus-2621f2e2f4c5b4f4158e6f6a417efe1cfaf98c60.zip
ivy-cplusplus-2621f2e2f4c5b4f4158e6f6a417efe1cfaf98c60.tar.gz
ivy-cplusplus-2621f2e2f4c5b4f4158e6f6a417efe1cfaf98c60.tar.bz2
ivy-cplusplus-2621f2e2f4c5b4f4158e6f6a417efe1cfaf98c60.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 'Bus/Ivy/ThreadedSocket.cxx')
-rw-r--r--Bus/Ivy/ThreadedSocket.cxx8
1 files changed, 4 insertions, 4 deletions
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;