Reputation: 6008
Lets say I have a tablet PC running a GUI application, and a remote PC (with static IP) running the backend core stuff.
The application running on the PC should request information from the Server.
Now I was thinking of socket programming, where the server will be running a server socket application and the tablet PC a client socket application.
But is there a simpler thing? I know ftp protocol is used to transfer files, is there a high level protocol like ftp that can be used to transfer small binary data, 16 bits per request? so I don't have to do any socket programming?
If the answer is only using socket programming, how to do that?
Upvotes: 1
Views: 337
Reputation: 11547
If I understand correctly, what you really want is an Application Server. If you choose to use sockets, you will have to deal with a lot of low-level details, such as marshalling / unmarshalling. You can opt for a higher-level solution:
Upvotes: 1
Reputation: 73041
Socket programming is indeed what you want here. Check out Beej's Guide to Network Programming to get yourself started.
Upvotes: 1