* wxSocket fixes: FTP, HTTP works really now. GTK fixes to prevent infinite loop.

* wxSocket stream fix: they can be encapsulated by now
* Doc update: wxURL::GetPath


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-02-27 21:01:05 +00:00
parent 839b865d08
commit 375abe3dac
9 changed files with 66 additions and 8 deletions

View File

@@ -45,6 +45,11 @@ wxOutputStream& wxSocketOutputStream::Write(const void *buffer, size_t size)
return *this;
}
size_t wxSocketOutputStream::OnSysWrite(const void *buffer, size_t size)
{
return m_o_socket->Write((const char *)buffer, size).LastCount();
}
// ---------------------------------------------------------------------------
// wxSocketInputStream
// ---------------------------------------------------------------------------
@@ -64,6 +69,11 @@ wxInputStream& wxSocketInputStream::Read(void *buffer, size_t size)
return *this;
}
size_t wxSocketInputStream::OnSysRead(void *buffer, size_t size)
{
return m_i_socket->Read((char *)buffer, size).LastCount();
}
// ---------------------------------------------------------------------------
// wxSocketStream
// ---------------------------------------------------------------------------