mercredi 3 juin 2015

How to test TCP socket application between Android and Windows

My task is to create an application wich works as a sensor node. Im ready with sensor part and I have to send the datas with TCP. I found a lot of library to send but I have to test it locally.

My question is: How can I test the connection on Windows if my application is run on the phone?

I read a lot of about it but almost every solution uses Android emulator but I don't want to use it. (It's too slow on my PC) I tried out a program: SocketTest v 2.0.0 (It can be found here: http://ift.tt/1K9J4ib ) but It isn't work for me, and I don't know what IP address should I use from Android to ping a localhost based server on Windows.

Thanks for any advice!

Nick

Aucun commentaire:

Enregistrer un commentaire