X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..a607d8d633e055fc5cea22c0b829cd65b5c3dbfb:/docs/latex/wx/ddeservr.tex?ds=sidebyside diff --git a/docs/latex/wx/ddeservr.tex b/docs/latex/wx/ddeservr.tex index a5736e34f7..d5d2bd2612 100644 --- a/docs/latex/wx/ddeservr.tex +++ b/docs/latex/wx/ddeservr.tex @@ -1,37 +1,48 @@ \section{\class{wxDDEServer}}\label{wxddeserver} A wxDDEServer object represents the server part of a client-server DDE -(Dynamic Data Exchange) conversation (available under both Windows -and UNIX). +(Dynamic Data Exchange) conversation. + +This DDE-based implementation is +available on Windows only, but a platform-independent, socket-based version +of this API is available using \helpref{wxTCPServer}{wxtcpserver}. \wxheading{Derived from} -wxDDEObject +wxServerBase + +\wxheading{Include files} + + + +\wxheading{Library} + +\helpref{wxBase}{librarieslist} \wxheading{See also} -\helpref{IPC overview}{ipcoverview} +\helpref{wxDDEClient}{wxddeclient}, \helpref{wxDDEConnection}{wxddeconnection}, \helpref{IPC overview}{ipcoverview} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxDDEServer::wxDDEServer} +\membersection{wxDDEServer::wxDDEServer}\label{wxddeserverctor} \func{}{wxDDEServer}{\void} Constructs a server object. -\membersection{wxDDEServer::Create} +\membersection{wxDDEServer::Create}\label{wxddeservercreate} \func{bool}{Create}{\param{const wxString\& }{service}} Registers the server using the given service name. Under UNIX, the string must contain an integer id which is used as an Internet port -number. FALSE is returned if the call failed (for example, the port +number. false is returned if the call failed (for example, the port number is already in use). \membersection{wxDDEServer::OnAcceptConnection}\label{wxddeserveronacceptconnection} -\func{wxDDEConnection *}{OnAcceptConnection}{\param{const wxString\& }{topic}} +\func{virtual wxConnectionBase *}{OnAcceptConnection}{\param{const wxString\& }{topic}} When a client calls {\bf MakeConnection}, the server receives the message and this member is called. The application should derive a @@ -42,4 +53,3 @@ Under UNIX, when a server is created the OnAcceptConnection message is always sent for standard input and output, but in the context of DDE messages it doesn't make a lot of sense. -