Difference between revisions of "Ns write"
Jump to navigation
Jump to search
(imported from WiKit id 697) |
(No difference)
|
Revision as of 16:28, 11 June 2004
Man page: http://aolserver.com/docs/tcl/ns_write.html
NAME
- ns_write - Write data to the current connection's socket.
SYNOPSIS
- ns_write ?connid? string
DESCRIPTION
- This command writes the string immediately to the current connection's socket. It can be used in place of ns_return or ns_respond to send back responses. AOLserver will not include any headers when using ns_write.
- Returns 1 if write was successful and 0 if write failed. This can be useful to determine if the client has closed the connection, possibly by hitting the stop button.
SEE ALSO