From 21b394e836110bd8092b15c44bd3c2b5ccc19b17 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 12:53:34 +0000 Subject: Utilisateur : Fcolin Date : 23/05/01 Heure : 10:25 Archivé dans $/Ivy (vss 8) --- Bus/Ivy/BufferedSocket.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Bus/Ivy/BufferedSocket.cxx') 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()); // } } -- cgit v1.1