VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
lon at kickasspixels.com Guest
|
Posted: Tue Jul 14, 2009 1:20 pm Post subject: [Freeswitch-users] Even socket packets/chunks |
|
|
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. |
|
Back to top |
|
|
dave at 3c.co.uk Guest
|
Posted: Tue Jul 14, 2009 1:43 pm Post subject: [Freeswitch-users] Even socket packets/chunks |
|
|
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
--
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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Tue Jul 14, 2009 2:10 pm Post subject: [Freeswitch-users] Even socket packets/chunks |
|
|
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@3c.co.uk (dave@3c.co.uk)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|