Android uses the socket to communicate with the sever.The project is just a demo.