WWDC and iPhone 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Darald,

"iOS is able to maintain a tcp socket when the app is suspended
(in the background)" 

-> Can iOS maintain UDP socket when app is suspended o not (that's why you need change to tcp socket in you server and client)?

From: dtrinka@xxxxxxxxx
To: pjsip at lists.pjsip.org
Date: Tue, 22 Jun 2010 06:26:41 -0400
CC: pjsip at lists.pjsip.org
Subject: Re: WWDC and iPhone 4

I'm not sure yet, but doing this cleanly would be my approach. We hope to look into this in a couple of weeks - after we update our server to use tcp.

On Jun 22, 2010, at 4:48 AM, "Fabio Pietrosanti (naif)" <lists at infosecurity.ch> wrote:



Hi Darald,



are you wrapping all the TCP and TLS related functions of PJSIP to the
standard iOS ones?



A clean layer a-la'-pjlib way would be really welcome!



Fabio



On 21/06/10 19.25, Darald Trinka wrote:


  
  iOS is able to maintain a tcp socket when the app is suspended
(in the background). This allows an app to receive incoming SIP
packets. I've only done a cursory look into this, but it does
appear that PJSIP will need to be changed to support this. Instead of
using bsd sockets, NSInputStream or CFReadStreamRef will need to be
used. We haven't dug into this yet, as our client and server use UDP
for SIP transport - we are updating this now.
  

  
  

  
  





_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
 		 	   		  
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100622/bac246b6/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux