X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..3cc305b2b4a0674c56c84d7088cfd70676b850f0:/docs/latex/wx/tcpconn.tex diff --git a/docs/latex/wx/tcpconn.tex b/docs/latex/wx/tcpconn.tex index 924890f6a7..f6e57b03e0 100644 --- a/docs/latex/wx/tcpconn.tex +++ b/docs/latex/wx/tcpconn.tex @@ -24,6 +24,10 @@ wxConnectionBase\\ +\wxheading{Library} + +\helpref{wxNet}{librarieslist} + \wxheading{Types} \index{wxIPCFormat}wxIPCFormat is defined as follows: @@ -58,7 +62,7 @@ enum wxIPCFormat \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxTCPConnection::wxTCPConnection} +\membersection{wxTCPConnection::wxTCPConnection}\label{wxtcpconnectionctor} \func{}{wxTCPConnection}{\void} @@ -76,16 +80,16 @@ associated with the connection. Otherwise, the programmer must provide a a buffer and size of the buffer for the connection object to use in transactions. -\membersection{wxTCPConnection::Advise} +\membersection{wxTCPConnection::Advise}\label{wxtcpconnectionadvise} -\func{bool}{Advise}{\param{const wxString\& }{item}, \param{char* }{data}, \param{int}{ size = -1}, \param{wxIPCFormat}{ format = wxCF\_TEXT}} +\func{bool}{Advise}{\param{const wxString\& }{item}, \param{const char* }{data}, \param{int}{ size = -1}, \param{wxIPCFormat}{ format = wxCF\_TEXT}} Called by the server application to advise the client of a change in the data associated with the given item. Causes the client connection's \helpref{wxTCPConnection::OnAdvise}{wxtcpconnectiononadvise} member to be called. Returns true if successful. -\membersection{wxTCPConnection::Execute} +\membersection{wxTCPConnection::Execute}\label{wxtcpconnectionexecute} \func{bool}{Execute}{\param{char* }{data}, \param{int}{ size = -1}, \param{wxIPCFormat}{ format = wxCF\_TEXT}} @@ -95,7 +99,7 @@ to \helpref{wxTCPConnection::Poke}{wxtcpconnectionpoke} in that respect). Causes server connection's \helpref{wxTCPConnection::OnExecute}{wxtcpconnectiononexecute} member to be called. Returns true if successful. -\membersection{wxTCPConnection::Disconnect} +\membersection{wxTCPConnection::Disconnect}\label{wxtcpconnectiondisconnect} \func{bool}{Disconnect}{\void} @@ -139,7 +143,7 @@ accept the given data. \membersection{wxTCPConnection::OnRequest}\label{wxtcpconnectiononrequest} -\func{virtual char*}{OnRequest}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}, \param{int *}{size}, \param{wxIPCFormat}{ format}} +\func{virtual const char*}{OnRequest}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}, \param{int *}{size}, \param{wxIPCFormat}{ format}} Message sent to the server application when the client calls \helpref{wxTCPConnection::Request}{wxtcpconnectionrequest}. The server @@ -165,7 +169,7 @@ this doesn't have much meaning in practice. \membersection{wxTCPConnection::Poke}\label{wxtcpconnectionpoke} -\func{bool}{Poke}{\param{const wxString\& }{item}, \param{char* }{data}, \param{int}{ size = -1}, \param{wxIPCFormat}{ format = wxCF\_TEXT}} +\func{bool}{Poke}{\param{const wxString\& }{item}, \param{const char* }{data}, \param{int}{ size = -1}, \param{wxIPCFormat}{ format = wxCF\_TEXT}} Called by the client application to poke data into the server. Can be used to transfer arbitrary data to the server. Causes the server