#pragma hdrstop
#endif
+#if wxUSE_SOCKETS
+
#ifndef WX_PRECOMP
#endif
return TRUE;
}
-bool wxTCPConnection::Execute (char *data, int size, wxIPCFormat format)
+bool wxTCPConnection::Execute (wxChar *data, int size, wxIPCFormat format)
{
if (!m_sock->IsConnected())
return FALSE;
}
}
-bool wxTCPConnection::Poke (const wxString& item, char *data, int size, wxIPCFormat format)
+bool wxTCPConnection::Poke (const wxString& item, wxChar *data, int size, wxIPCFormat format)
{
if (!m_sock->IsConnected())
return FALSE;
// Calls that SERVER can make
bool wxTCPConnection::Advise (const wxString& item,
- char *data, int size, wxIPCFormat format)
+ wxChar *data, int size, wxIPCFormat format)
{
if (!m_sock->IsConnected())
return FALSE;
case IPC_POKE: {
wxIPCFormat format;
size_t size;
- char *data;
+ wxChar *data;
item = codeci->ReadString();
format = (wxIPCFormat)codeci->Read8();
size = codeci->Read32();
- data = new char[size];
+ data = new wxChar[size];
codeci->Read(data, size);
connection->OnPoke (topic_name, item, data, size, format);
}
}
}
+
+#endif
+ // wxUSE_SOCKETS