X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ada568223b79c8a5769cc351c36a8e2ccd7841..829e3e8d3d177f5323e1ed7eec733f33a10a0df8:/include/wx/sckipc.h?ds=sidebyside diff --git a/include/wx/sckipc.h b/include/wx/sckipc.h index 8ca86b2ae2..f0a80d8cbb 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; @@ -73,17 +74,17 @@ public: // Calls that CLIENT can make bool Execute(char *data, int size = -1, - wxDataFormat format = wxDF_TEXT); + wxIPCFormat format = wxIPC_TEXT); char *Request(const wxString& item, int *size = NULL, - wxDataFormat format = wxDF_TEXT); + wxIPCFormat format = wxIPC_TEXT); bool Poke(const wxString& item, char *data, int size = -1, - wxDataFormat format = wxDF_TEXT); + 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); + wxIPCFormat format = wxIPC_TEXT); // Calls that both can make bool Disconnect();