Re: [sysapps/raw socket api]: New version based on Madrid meeting comments and comments from Ke-Fong Lin


>>>> It's still not clear to me how to use the localAddress/localPort
>> arguments for TCPSocket and UDPSocket.
>>>> What are the use cases for these options?
>>>
>>> Local address is needed to select which network interface to use. On
>> mobile device, that would be WIFI, 3G, Bluetooth.
>>
>> Yup. So the question is what's the use case for, on a client side
>> device, setting up a socket connection specifically from wifi, 3G or
>> Bluetooth rather than the "default" connection?

On client-side, the API won't be used only on mobiles.
As far as I know sysapps also target packaged apps for desktop applications which can run on computers with several IP addresses including physical ones and virtual ones (in Virtual Machine contexts)






Alexandre Morgaut
Wakanda Community Manager

4D SAS
60, rue d'Alsace
92110 Clichy
France

Standard : +33 1 40 87 92 00
Email :    Alexandre.Morgaut@4d.com
Web :      www.4D.com

Received on Sunday, 28 April 2013 14:21:13 UTC