#endif
#include "wx/stream.h"
+
+#if wxUSE_SOCKETS && wxUSE_STREAMS
+
#include "wx/socket.h"
class WXDLLEXPORT wxSocketOutputStream : public wxOutputStream
protected:
wxSocketBase *m_o_socket;
+
+ size_t OnSysWrite(const void *buffer, size_t bufsize);
};
class WXDLLEXPORT wxSocketInputStream : public wxInputStream
protected:
wxSocketBase *m_i_socket;
+
+ size_t OnSysRead(void *buffer, size_t bufsize);
};
class WXDLLEXPORT wxSocketStream : public wxSocketInputStream,
};
#endif
+ // wxUSE_SOCKETS && wxUSE_STREAMS
+
+#endif
+ // __SCK_STREAM_H__
\ No newline at end of file