Ns_PdSendData

Name

Ns_PdSendData -- Send data to the client.

Syntax

void Ns_PdSendData (char *data, int len);

Description

This function sends data of length len to the client. You indicate that you are finished sending data to the client by calling this function with END_DATA.

Pseudo-code Example

Ns_PdSendString(OK_STATUS);
if (status == DB_END_DATA) {
  Ns_PdSendData(END_DATA, strlen(END_DATA));
}