I know this might sound like a very amateur and stupid question but I don't understand the concepts of these protocols in the OSI model. Are they just code that gets invoked? Also where does this code reside? Is it put on every server machine that needs to conform to the protocol when you are designing the network?
I am reading a book and it states that:
For starters, the abstract objects that make up the layers of a network system are called protocols.
Each protocol defines two different interfaces. First, it defines a service interface to the other objects on the same computer that want to use its communication services.
An implementation of the HTTP protocol could support an operation to fetch a page of hypertext from a remote server.
So in the case of an HTTP protocol when a user hits enter after entering a URL on their browser, some code for the HTTP protocol which is stored on some server machine is being run?
every device that uses the IP has the protocol stack. That includes servers, routers, etc.. Does that mean that the code for each of the protocols in this specific TCP/IP stack is implemented on each machine (server, routers, etc.)? I am still confused on how the code for this protocol in invoked. – CapturedTree Sep 22 '16 at 17:21www.google.comon your machine (which is connected to some network) the routers will route the packet (which is a GET request to the server of google.com which is connected to some other network). Does the encapsulation on that packet from each layer (of TCP/IP) happen on my local machine first? So all of the code for that specific protocol will be invoked on my machine and then the packet will be sent to the destinationwww.google.comserver? – CapturedTree Sep 22 '16 at 17:24