diff options
author | fcolin | 2007-02-01 12:53:34 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 12:53:34 +0000 |
commit | 21b394e836110bd8092b15c44bd3c2b5ccc19b17 (patch) | |
tree | f24de0233bc410c566f935668bea2366e23e544a /Bus | |
parent | e85985544b43499f42caec55ed6284a28e2e9bb0 (diff) | |
download | ivy-cplusplus-21b394e836110bd8092b15c44bd3c2b5ccc19b17.zip ivy-cplusplus-21b394e836110bd8092b15c44bd3c2b5ccc19b17.tar.gz ivy-cplusplus-21b394e836110bd8092b15c44bd3c2b5ccc19b17.tar.bz2 ivy-cplusplus-21b394e836110bd8092b15c44bd3c2b5ccc19b17.tar.xz |
Utilisateur : Fcolin Date : 23/05/01 Heure : 10:25 Archivé dans $/Ivy (vss 8)
Diffstat (limited to 'Bus')
-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());
// }
}
|