websWriteBlock | GoAhead WebServer API | GoAhead EMF |
Write a block of data to the user's browser
#include "webs.h" int websWriteBlock(webs_t wp, char_t *buf, int len);
wp | Web server connection handle |
buf | Buffer containing data to write to the browser |
len | Number of characters to write |
The websWriteBlock procedure writes a block of data back to the user's browser. It can be used within both ASP procedures and Form procedures. Data will be immediately flushed to the user's browser. (If UNICODE is turned on, buf is expected to contain unicoded strings. See websWriteBlockData for writing ASCII data in a Unicode environment.)
The number of bytes actually written.
websWriteBlock(wp, buf, sizeof(buf));
Active Server Pages, Forms, websDone, websFooter, websHeader, websWrite, websWriteBlockData