Contents Up Previous Next

wxServer is-a wxObject

Interprocess communication overview

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

wxServer service-name
wxServer create
wxServer on-accept-connection


wxServer service-name

string service-name

The name of the service (or server).


wxServer create

void ( create)

Creates a server object, and returns an integer id if successful.

The service-name slot should be initialized with a string identifying this service to potential clients. Under UNIX, it should contain a valid port number.


wxServer on-accept-connection

wxConnection ( on-accept-connection string topic)

Should be overrident to return an instance of the appropriate wxConnection class, or nil to reject the connection.