wxConnection::OnRequest

char * OnRequest(char *topic, char *item, int *size, int format)

Message sent to the server application when the client calls wxConnection::Request. The server should respond by returning a character string from OnRequest, or NULL to indicate no data.