Method Protocols.TELNET.Readline()->set_nonblocking()
- Method set_nonblocking
void
set_nonblocking(function
(mixed
,string
:void
)r_cb
,function
(mixed
|void
:string
)w_cb
,function
(mixed
|void
:void
)c_cb
)- Description
Change the asynchronous I/O callbacks.
- Parameter
r_cb
Function to call when data has arrived.
- Parameter
w_cb
Function to call when the send buffer is empty.
- Parameter
c_cb
Function to call when the connection is closed.
- See also