title: What's the correct answer about getservbyname?
body: <p>I don't know what's the correct answer about getservbyname.</p>
  
  <p>Sentence <code>sp = getservbyname("example", "tcp")</code></p>
  
  <p>a. is used by the client to obtain the service's port.</p>
  
  <p>b. can only be used if we have permission to modify /etc/services file.</p>
  
  <p>c. will be used by the server to obtain the service's port, if we have access to /etc/services.</p>
  
  <p>d. a y b are correct.</p>
  
  <p>Thanks a lot!</p>