{ "q1": { "type": "blank", "question": "\n

Given the URL:\n http://momo.ndlug.org:9414/script.py?friend=appa,\n identify the following components:

\n\n\n\n\n\n\n\n\n
Protocol:(1) ____
Domain Name:(2) ____
Port Number:(3) ____
Resource Path:(4) ____
Query Parameter:(5) ____
\n" }, "q2": { "type": "order", "question": "\n

Identify the networking system call or standard library\nfunctionyou should use to accomplish the following tasks:

\n\n

\n

    \n
  1. Create a file descriptor or endpoint for communicating over the network.
  2. \n
  3. Convert network file descriptor into a file stream.
  4. \n
  5. Lookup the address information for a particular machine or service.
  6. \n
  7. Associate an address and service to a server network file descriptor (aka assign a name to a socket).
  8. \n
  9. Translate the network address structure into corresponding host and service strings.
  10. \n
  11. Establish a client network file descriptor to a specified address.
  12. \n
  13. Mark network file descriptor as waiting for incoming connections.
  14. \n
  15. Create a new network file descriptor based on a incoming connection.
  16. \n
\n

\n", "responses": { "fdopen": "fdopen()", "socket": "socket()", "connect": "connect()", "listen": "listen()", "bind": "bind()", "accept": "accept()", "getnameinfo": "getnameinfo()", "getaddrinfo": "getaddrinfo()" } } }