I am developing an android app which is associated with a website so I need a server for website and for web services. I know that the http is application layer protocol that transfer data through either TCP or UDP.
Since I will be using a http server for website so can that server accepts raw data (where it is accepting HTTP data) at TCP socket and manipulate it?
if yes then how and do I have any other option for the gps task. Please suggest a server where I can do this task. I tried searching the net but did not get suitable answer.
You should try using wireshark first to understand actually how your tracker is sending the information. If you can identify the port at which data is being sent you can use iptables to replicate the data and send it to the location of your choice.