Programming Question Pool


  1. Which function maintains a struct that allows a programmer to obtain a socket's portnumber?
  2. In BSD socket programming, which one has the correct order of API calls for server before server blocks?
  3. BSD sockets are best described as:
  4. The Unix connect system call (using TCP as the transport) returns:
  5. A BSD socket is an interface between:
  6. The Unix system call gethostbyname() is associated most closely with which protocol:
  7. The routine used to get a UDP packet from a socket is ____________.