summaryrefslogtreecommitdiff
path: root/Bus/Ivy/ThreadedSocket.cxx
diff options
context:
space:
mode:
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;