X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f010ad481266d9267f5f4fd0547a9fc891441715..544229d1069a20ca4c81fac6059aa4d92d8559ef:/docs/latex/wx/tipc.tex diff --git a/docs/latex/wx/tipc.tex b/docs/latex/wx/tipc.tex index 4360c0d7ea..0a8c8b255c 100644 --- a/docs/latex/wx/tipc.tex +++ b/docs/latex/wx/tipc.tex @@ -6,7 +6,7 @@ Classes: \helpref{wxServer}{wxddeserver}, %\helpref{wxTCPServer}{wxtcpserver}, \helpref{wxTCPConnection}{wxtcpconnection}, %\helpref{wxTCPClient}{wxtcpclient} -wxWindows has a number of different classes to help with +wxWidgets has a number of different classes to help with interprocess communication and network programming. This section only discusses one family of classes -- the DDE-like protocol -- but here's a list of other useful classes: @@ -20,7 +20,7 @@ but here's a list of other useful classes: for programming popular Internet protocols. \end{itemize} -wxWindows' DDE-like protocol is a high-level protocol based on +wxWidgets' DDE-like protocol is a high-level protocol based on Windows DDE. There are two implementations of this DDE-like protocol: one using real DDE running on Windows only, and another using TCP/IP (sockets) that runs on most platforms. Since the API @@ -34,8 +34,8 @@ convenient synonyms for the IPC classes: {\tt wxServer} for either DDE-based or socket-based implementation is used and the same thing for {\tt wxClient} and {\tt wxConnection}. -By default, DDE implementation is used under Windows. DDE works -only within one computer. If you want to use IPC between +By default, the DDE implementation is used under Windows. DDE works +within one computer only. If you want to use IPC between different workstations you should define {\tt wxUSE\_DDE\_FOR\_IPC} as $0$ before including this header -- this will force using TCP/IP implementation even under Windows. @@ -70,7 +70,7 @@ used for the communications or a valid file name (which shouldn't exist and will be deleted afterwards) in which case a Unix domain socket is created. -{\bf SECURITY NOTE:} Using Internet domain sockets if extremely insecure for +{\bf SECURITY NOTE:} Using Internet domain sockets is extremely insecure for IPC as there is absolutely no access control for them, use Unix domain sockets whenever possible! @@ -118,7 +118,7 @@ successful. \item Use the wxConnection member functions to send messages to the server. \end{enumerate} -\subsection{Data transfer} +\subsection{Data transfer}\label{datatransfer} These are the ways that data can be transferred from one application to another. These are methods of wxConnection. @@ -145,7 +145,7 @@ The default data type is wxCF\_TEXT (ASCII text), and the default data size is the length of the null-terminated string. Windows-specific data types could also be used on the PC. -\subsection{Examples} +\subsection{Examples}\label{ipcexamples} See the sample programs {\it server}\/ and {\it client}\/ in the IPC samples directory. Run the server, then the client. This demonstrates @@ -153,7 +153,7 @@ using the Execute, Request, and Poke commands from the client, together with an Advise loop: selecting an item in the server list box causes that item to be highlighted in the client list box. -\subsection{More DDE details} +\subsection{More DDE details}\label{ddedetails} A wxClient object initiates the client part of a client-server DDE-like (Dynamic Data Exchange) conversation (available in both @@ -220,5 +220,5 @@ where the server calls the client when data has changed). \end{verbatim} Note that it is no longer necessary to call wxDDEInitialize or wxDDECleanUp, since -wxWindows will do this itself if necessary. +wxWidgets will do this by itself if necessary.