Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Even socket packets/chunks


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
lon at kickasspixels.com
Guest





PostPosted: Tue Jul 14, 2009 1:20 pm    Post subject: [Freeswitch-users] Even socket packets/chunks Reply with quote

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





PostPosted: Tue Jul 14, 2009 1:43 pm    Post subject: [Freeswitch-users] Even socket packets/chunks Reply with quote

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

Quote:
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Tue Jul 14, 2009 2:10 pm    Post subject: [Freeswitch-users] Even socket packets/chunks Reply with quote

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:
Quote:
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


Quote:
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.


Quote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (dave@3c.co.uk)
W: http://www.3c.co.uk


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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



--
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services