Extracted from Pike v7.4 release 117 at 2005-08-23.
pike.ida.liu.se
[Top]
predef::
SSL
SSL.connection

Method SSL.connection()->to_write()


Method to_write

string|int to_write()

Description

Extracts data from the packet queues. Returns a string of data to be written, "" if there are no pending packets, 1 of the connection is being closed politely, and -1 if the connection died unexpectedly.

This function is intended to be called from an i/o write callback.