X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ada568223b79c8a5769cc351c36a8e2ccd7841..a86f1d4a7d613a94c1136a1a79bca12f4600f56d:/include/wx/sckipc.h diff --git a/include/wx/sckipc.h b/include/wx/sckipc.h index 8ca86b2ae2..ef78d5f866 100644 --- a/include/wx/sckipc.h +++ b/include/wx/sckipc.h @@ -56,7 +56,8 @@ class wxTCPConnection: public wxConnectionBase protected: wxSocketBase *m_sock; wxSocketStream *m_sockstrm; - wxDataStream *m_codec; + wxDataInputStream *m_codeci; + wxDataOutputStream *m_codeco; wxString m_topic; friend class wxTCPServer; @@ -72,18 +73,18 @@ public: virtual ~wxTCPConnection(); // Calls that CLIENT can make - bool Execute(char *data, int size = -1, - wxDataFormat format = wxDF_TEXT); + bool Execute(wxChar *data, int size = -1, + wxIPCFormat format = wxIPC_TEXT); char *Request(const wxString& item, int *size = NULL, - wxDataFormat format = wxDF_TEXT); - bool Poke(const wxString& item, char *data, int size = -1, - wxDataFormat format = wxDF_TEXT); + wxIPCFormat format = wxIPC_TEXT); + bool Poke(const wxString& item, wxChar *data, int size = -1, + wxIPCFormat format = wxIPC_TEXT); bool StartAdvise(const wxString& item); bool StopAdvise(const wxString& item); // Calls that SERVER can make - bool Advise(const wxString& item, char *data, int size = -1, - wxDataFormat format = wxDF_TEXT); + bool Advise(const wxString& item, wxChar *data, int size = -1, + wxIPCFormat format = wxIPC_TEXT); // Calls that both can make bool Disconnect();