#pragma interface "socket.h"
#endif
+#include "wx/defs.h"
+
+#if wxUSE_SOCKETS
+
// ---------------------------------------------------------------------------
// Windows(tm) specific
// ---------------------------------------------------------------------------
// wxSocket headers (generic)
// ---------------------------------------------------------------------------
#ifdef WXPREC
-#include <wx/wxprec.h>
+ #include "wx/wxprec.h"
#else
-#include <wx/wx.h>
+ #include "wx/event.h"
+ #include "wx/string.h"
#endif
+
#include "wx/sckaddr.h"
class WXDLLEXPORT wxSocketEvent;
wxSocketBase& Read(char* buffer, size_t nbytes);
wxSocketBase& Write(const char *buffer, size_t nbytes);
wxSocketBase& Unread(const char *buffer, size_t nbytes);
+ wxSocketBase& ReadMsg(char *buffer, size_t nbytes);
+ wxSocketBase& WriteMsg(const char *buffer, size_t nbytes);
void Discard();
// Try not to use this two methods (they sould be protected)
(wxObject *) NULL },
#endif
+ // wxUSE_SOCKETS
+
+#endif
+ // _WX_NETWORK_SOCKET_H