02-21-2013 11:20 AM
Hi,
Is it possible to create a TCP client with AIR for PlayBook (I would rather UDP but from what I read it is not available for AIR mobile)?
What I am trying to do is just send short string to a PC that are in the same WiFi.
I have seen and tried this app and it says it uses TCP connection but I do not know whether it was created with AIR or not.
http://appworld.blackberry.com/webstore/content/36
Any information is really appreicated.
Solved! Go to Solution.
02-21-2013 11:23 AM
02-21-2013 11:24 AM
02-21-2013 11:31 AM
jtegen thanks for the quick replies.
From what I know UDP is not supported for mobile AIR but I should try the isSupported (which I was not aware) to make sure.
I had seen the Socket class but was not sure if it was supported for mobile AIR.
02-21-2013 12:43 PM
03-01-2013 03:20 PM
You can also take a look at as3 peer to peer classes, they might help you and are supported on mobile version.
http://help.adobe.com/en_US/FlashPlatform/referenc
I use it on my app Remote Media Player and Remote Control for communications between Playbook, Bb10, Android and ios devices.
03-01-2013 04:37 PM
03-01-2013 06:00 PM
Yes, and that's what he wants to do, connect to a pc on the same wifi ![]()
03-01-2013 09:12 PM
Hi all,
I got it working (see the solution) and I will publish the app when I have time (right now using it as a debug).
03-07-2013 12:25 AM
TCP works fine.
UDP (multicasting) and UPnP by extension don't work.
Which means you cant autodetect network devices (thus can never be a true DLNA client) and will have trouble with streaming video as you need to do it over TCP.