Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
SSL
SSL.sslfile

Method SSL.sslfile()->set_alert_callback()


Method set_alert_callback

void set_alert_callback(function(object:void) alert)

Description

Install a function that will be called when an alert packet is received. It doesn't affect the callback mode - it's called both from backends and from within normal function calls like read and write .