Relative Content

Tag Archive for networks

Difference between a socket and a port

Could someone please explain quite clearly the difference between a port and a socket. I know that a port serves as a door into the network for an application
process and that the application process uses a socket connection to the given port number to handle network communication but when you have multiple processes listening on a single port number, I am finding it difficult to understand the difference between the socket and the port and how they all fit together.

How to divide work to a network of computers?

Imagine a scenario as follows: Lets say you have a central computer which generates a lot of data. This data must go through some processing, which unfortunately takes longer than to generate. In order for the processing to catch up with real time, we plug in more slave computers.

Which programming guidelines for a chess network application?

I’d like to implement a simple chess peer to peer network application : one instance of the program may register friends player, and when one friend is “connected” (I mean both available by another program instance and registered as friend), I can ask him to play a game.