Connection between PC and android phone..

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Connection between PC and android phone..

Postby Tantu » Wed Dec 08, 2010 7:38 am

:?: I want to connect my Android phone(Galaxy 2.1) to PC using socket communication, which IP and port number should i use? My server is in VC++ tht create a socket and my phone acts as a client in this communication.? but client cannot create socket...............

//my sample code
InetAddress serverAdd = InetAddress.getByName("127.0.0.1");

socket = new Socket(serverAdd, 8088);

Thanx in advance,
Tantu
Freshman
Freshman
 
Posts: 5
Joined: Wed Dec 08, 2010 7:19 am

Top

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests