diff options
Diffstat (limited to 'Bus/Ivy/BufferedSocket.cxx')
-rw-r--r-- | Bus/Ivy/BufferedSocket.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Bus/Ivy/BufferedSocket.cxx b/Bus/Ivy/BufferedSocket.cxx index 3d3474a..441d580 100644 --- a/Bus/Ivy/BufferedSocket.cxx +++ b/Bus/Ivy/BufferedSocket.cxx @@ -53,9 +53,9 @@ void CBufferedSocket::OnReceive(int nErrorCode) nb = ReceiveFrom( ptr, nb_to_read, &addr, &len, 0/*MSG_PARTIAL*/ );
if ( nb == SOCKET_ERROR )
{
- int err = GetLastError();
+ int err = this->GetLastError();
if ( err != WSAESHUTDOWN ) // shutdown by remote side ?
- TRACE("error Receive %d socket %d\n",GetLastError(),m_hSocket);
+ TRACE("error Receive %d socket %d\n",this->GetLastError(),m_hSocket);
Close();
return;
}
@@ -123,7 +123,7 @@ void CBufferedSocket::OnSend( int nErrorCode ) }
else
{ // erreur
- int err = GetLastError();
+ int err = this->GetLastError();
if ( err == WSAEWOULDBLOCK ) // si la file est pleine on sort en silence !
{
}
@@ -152,6 +152,6 @@ void CBufferedSocket::Send ( const char * data ) // if ( connected )
// {
bool ok = SignalWriter();
- if ( !ok ) TRACE( "CBufferedSocket::SignalWriter Error %d\n", ::GetLastError());
+ if ( !ok ) TRACE( "CBufferedSocket::SignalWriter Error %d\n", this->GetLastError());
// }
}
|