Forums Register Login

Client server Communication using TCP/UDP?

+Pie Number of slices to send: Send
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??!!
+Pie Number of slices to send: Send
 

Prajkti Khadse wrote:but can't send Data From Server to Client.



Are you getting some error messages, or something like that? ItDoesntWorkIsUseless
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
Well don't expect me to do the dishes! This ad has been cleaned for your convenience:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 3797 times.
Similar Threads
How to refuse connection using sniffers in Java
How to push data from server to client in struts
Client Mode vs. Server Mode
Socket Server in Java and socket Client c++
Can I Have Two-Way Communication with Sockets with just one Port?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:27:40.