开发者

Direct Connect P2P libraries for linking iPhone, Android, and .net desktop apps

Currently my users connect to their computer from their phone via a asynchronous TCP connections,开发者_运维技巧 but this requires them to open a specific port, and to have to know their IP address. Then there's the problem of dynamic IP addresses, and it all becomes just too much.

I'd like for them to not have to mess with any of this. And after a bit of searching I've realized what I really need is a Direct Connect p2p connection between the two.

I'd like to implement this, but what do I need? The server running on the user's computer is .NET and the clients are running Android and iPhone.


As one of the options, you can check our MsgConnect product. It lets you easily exchange messages between various platforms, including iPhone, Java-based systems and .NET.


Dynamic IP addressing doesn't have to be such a pain -- you can use a service such as http://www.dyndns.com/ to have a given network name map to the actual IP, which can be dynamic.

As for not opening the user's firewall -- without knowing more about the nature of your software/problem, it's hard to say. But if you're wanting a direct connection from phone to user's home computer, without any third party device/service involved, you don't have much choice but to accept that the computer has to be able to accept incoming connections.

If you accept the possibility of a third party in the communication, that can offer some possibilities, depending on what your software does. But it also adds lots of complexity.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜