Saturday, March 10, 2012

What is the purpose of sending the message header when sending data across to another machine?

Does the receiving end need to do anything with the messager header or just extract the data portion? Thanks alot!What is the purpose of sending the message header when sending data across to another machine?
What exactly are you referring to?



Network programming? Sockets? TCP stack? Individual packets?



For example: At the Application Layer



We can write a chat client/server application where each message can contain a certain prefix. The prefix acts as a command for the client/server to interpret. Based on this command, the server may know to relay a message to a specific client or to all clients.
  • dominoes online
  • brazilian steakhouse
  • No comments:

    Post a Comment