websock.send returns true/false.

If all send data was flushed from the send queue then return true,
otherwise false. This doesn't mean the data won't be sent, just that
it wasn't sent this time and is queued.
This commit is contained in:
Joel Martin 2011-01-23 19:21:04 -06:00
parent 8b502df2a1
commit 1756a30a48
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ function flush() {
function send(arr) {
//Util.Debug(">> send_array: " + arr);
sQ = sQ.concat(arr);
flush();
return flush();
};
function send_string(str) {