title: Difference between interface and service (networking)?
body: <p>So, peers communicate using a protocol.<br />
  Protocols communicate using interfaces which define primitive operations.<br />
  Are services the same as interfaces?<br /></p>
  
  <blockquote>
    <p>A service is a set of primitives (operations) that a layer provides to the layer above it. -<em>Computer Networks</em> by Tanenbaum &amp; Wheterall.<br /></p>
  </blockquote>
  
  <p>Or does it relate to interfaces in some way? Is it more concrete (can it only be used between some layers)?<br /></p>
  
  <blockquote>
    <p>A service relates to an interface between two layers. -<em>Computer Networks</em> by Tanenbaum &amp; Wheterall.</p>
  </blockquote>