Ns_PdSendString

Name

Ns_PdSendString -- Sends a character message (string) to the client.

Syntax

void Ns_PdSendString (char *string);

Description

This function sends a string to the client. It is usually used by DBMS proxy daemons to send an OK_STATUS or to send various other data (e.g., other types of status messages, row counts for functions that return table data, etc.).

Example

char buf[100];
count = 10;
sprintf(buf, "%d", count);
Ns_PdSendString(buf);