summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:53:34 +0000
committerfcolin2007-02-01 12:53:34 +0000
commit2a2c244787f3f9584c49b93d499e1d6f1af114c6 (patch)
treec9e67a53f588d82d83cf026399a18c3015ff4f29 /Ivy
parent4c3311ee071d9f58bef1dff82a2772778f251cf1 (diff)
downloadivy-cplusplus-2a2c244787f3f9584c49b93d499e1d6f1af114c6.zip
ivy-cplusplus-2a2c244787f3f9584c49b93d499e1d6f1af114c6.tar.gz
ivy-cplusplus-2a2c244787f3f9584c49b93d499e1d6f1af114c6.tar.bz2
ivy-cplusplus-2a2c244787f3f9584c49b93d499e1d6f1af114c6.tar.xz
Utilisateur : Fcolin Date : 23/05/01 Heure : 10:25 Archivé dans $/Ivy (vss 8)
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/BufferedSocket.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Ivy/BufferedSocket.cxx b/Ivy/BufferedSocket.cxx
index 3d3474a..441d580 100644
--- a/Ivy/BufferedSocket.cxx
+++ b/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());
// }
}