[Asterisk-Dev] read callback function never is launched
Kristian Nielsen
kn at sifira.dk
Mon May 9 12:16:59 MST 2005
"dmb" <montejodaniel at hotmail.com> writes:
> Hello,
> And how can Peter put data in the descripter?
With write(), at the other end :-)
Usually you have a socket connected to some remote server, and the read
callback is called to read whatever data becomes available on that socket.
I have seen in the code that you can also get zaptel to periodically
make the descriptor ready, but I haven't used that myself (I think it
uses the exception callback?).
- Kristian.
--
Kristian Nielsen kn at sifira.dk
Development Manager, Sifira A/S
More information about the asterisk-dev
mailing list