UDP Code client server architecture
Posted
by
GameBuilder
on Game Development
See other posts from Game Development
or by GameBuilder
Published on 2011-06-24T01:36:08Z
Indexed on
2011/11/28
10:47 UTC
Read the original article
Hit count: 413
Hi I have developed a game on android.Now I want to play it on wifi or 3G. I have game packets which i want to send it form client(mobile) to server then to another client2(mobile).
I don't know how to write code in Java to send the playPackets continuously to server and receive the playPacket continuously from the server to the clients.
I guess i have to use two thread one for sending and one for receiving.
Can someone help me with the code, or the procedure to write code for it.
Thanks in advance.
© Game Development or respective owner