I'm looking to program something for an Android machine. Basically I want the phone to communicate with a server, sending it TCP/UDP packets, and I want the server to reply to the phone an answer depending on the packet received.
I did it while ago, with 2 PC's it wasn't really a problem. I had my "server side" running on a loop listening to a certain port and then replying.
My question is how should I write this code if I don't want to have a PC running as a server? Any recommendations on a good free-host-server on the web, and what kind of language I should use..?
As you can see I'm a bit lost, and need some tips/guides or anything that will help me get started.
Thanks a lot