[Freeswitch-users] Even socket packets/chunks
Anthony Minessale
anthony.minessale at gmail.com
Tue Jul 14 11:56:29 PDT 2009
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...
On Tue, Jul 14, 2009 at 1:33 PM, David Knell <dave at 3c.co.uk> wrote:
> 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 at 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 at 3c.co.uk
> W: http://www.3c.co.uk
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090714/cca46e1f/attachment-0002.html
More information about the FreeSWITCH-users
mailing list