• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Client server Communication using TCP/UDP?

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??!!
 
Sheriff
Posts: 7136
1360
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 136
Android Mac Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic