1 \section{\class{wxDDEServer
}}\label{wxddeserver
}
3 A wxDDEServer object represents the server part of a client-server DDE
4 (Dynamic Data Exchange) conversation (available under both Windows
7 \wxheading{Derived from
}
13 \helpref{IPC overview
}{ipcoverview
}
15 \latexignore{\rtfignore{\wxheading{Members
}}}
17 \membersection{wxDDEServer::wxDDEServer
}
19 \func{}{wxDDEServer
}{\void}
21 Constructs a server object.
23 \membersection{wxDDEServer::Create
}
25 \func{bool
}{Create
}{\param{const wxString\&
}{service
}}
27 Registers the server using the given service name. Under UNIX, the
28 string must contain an integer id which is used as an Internet port
29 number. FALSE is returned if the call failed (for example, the port
30 number is already in use).
32 \membersection{wxDDEServer::OnAcceptConnection
}\label{wxddeserveronacceptconnection
}
34 \func{wxDDEConnection *
}{OnAcceptConnection
}{\param{const wxString\&
}{topic
}}
36 When a client calls
{\bf MakeConnection
}, the server receives the
37 message and this member is called. The application should derive a
38 member to intercept this message and return a connection object of
39 either the standard wxDDEConnection type, or of a user-derived type. If the
40 topic is ``STDIO'', the application may wish to refuse the connection.
41 Under UNIX, when a server is created the OnAcceptConnection message is
42 always sent for standard input and output, but in the context of DDE
43 messages it doesn't make a lot of sense.