I took the time to write the ESL lib and release it BSD licensed.
It does everything you need to talk to event socket from a series of languages from C all the way up...
Hi -
You can't assume that 1 packet=1 command/event - it's true often enough
to lull you in to a false sense of security, but false often enough that
you'll end up with odd problems unless you do things properly.
In any case, it's not hard to get it right - there's plenty of other
instances where applications have to read from a socket until they hit
\n\n, then possibly read content-length bytes: HTTP for a starter.
--Dave
> _______________________________________________
> Hi,
>
>
> You confirm if FS ever sends partial or incomplete commands over the
> event socket? I have heard from other developers that the commands I
> am listening for may come across incomplete.
> Freeswitch-users mailing list
> Freeswitch-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
--
David Knell, Director, 3C Limited
T: +44 20 3298 2000
E: dave@3c.co.uk
W: http://www.3c.co.uk
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org