[Freeswitch-users] ESL: recvEvent vs recvEventTimed

Antonio asilva at wirelessmundi.com
Sat May 24 15:52:17 MSD 2014

Hi all,

I'm doing a esl program to get all the events from fs and I always want
to wait for an event before continue.

but i facing a difficult decision to choose between recvEvent() or

I read in the wiki:
recvEvent() - blocks until it receives an event
recvEventTimed(0) - waits X ms  or blocks until it receives an event

so they are the same or no?
For your experience with ESL what method do you recommend?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140524/e220e76f/attachment.html 

Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list