11-11-2009, 03:11 PM
Join Date: Sep 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Programming a p2p app over wifi
Please Login to Remove!
Let's suppose we want to develop an application to communicate two blackberry devices over wifi. Both devices are in the same LAN. Starting with the fact that multicast and broadcast are disabled for UDP packages, so what would be the best solution to make them discover each other (without typing any IP).
I don΄t want to include an external server to help them find each other, but if it is the only option...what would be a proper protocol to do so? This will be a discover protocol, once they are both visible, they should make a direct connection.
This is very confusing I'm newbie in BB programming; in iphone we have bonjour to solve this problem. Is there anything in blackberry? I believe there must be some game that needs this too.