Contents Up Previous Next

wxClient is-a wxObject

Interprocess communication overview


Not yet tested.

A client object represents the client side of a DDE conversation.

wxClient create
wxClient make-connection
wxClient on-make-connection


wxClient create

void ( create)

Creates a client object. You should override the on-make-connection handler to return an object of class derived from wxConnection, since various members of wxConnection must be overridden to intercept messages.

A connection is not made until make-connection is called.


wxClient make-connection

wxConnection ( make-connection string host string service string topic)

Makes a connection to a server, returning an object of a user-defined derivative of wxConnection if successful.

host is ignored under Windows, and should contain a valid internet host name under X.

service is a DDE service identifier (under X should contain a socket identifier).

topic is a topic name for this connection.


wxClient on-make-connection

wxConnection ( on-make-connection)

Should be overridden to return an object of the appropriate wxConnection class, whenever a connection is made. The base wxConnection class cannot be used because various members of wxConnection must be overridden in order to respond to messages from the server.