• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client server Communication using TCP/UDP?

 
Prajkti Khadse
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am trying to build one Application for Client-server Communication (Between two Emulators)
Problem is that, i can Send Data From Client to server, Server Receives it too Successfully but
can't send Data From Server to Client.
Can Anybody Please Help me out

Any code snippet Please??!!
 
Devaka Cooray
Marshal
Pie
Posts: 4889
408
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prajkti Khadse wrote:but can't send Data From Server to Client.


Are you getting some error messages, or something like that? ItDoesntWorkIsUseless
 
Pratik Goswami
Ranch Hand
Posts: 136
Android Chrome Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prajakti,

Do you want to implement Server inside device it self or am I interpreting something wrong? In my case I have developed a Server with Servlet I was communicating between client (emulator) and server.

AFAIK if you want to communicate between to mobile device then you will require IP for both.

Thanks
Pratik Goswami
 
Jason Gosling
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I couldn't run client-server onto 2 emulators. Can somebody helps

But, in one emulator, and run onto logcat, i can send data from client to server and server to client too
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic