I was wondering, in task 2 (second sub-task) of the 2017 exam, the question was how many Sockets Alice needs to perform the communications listed in the sub-task before. Generally, she performs
- one DNS lookup for www.epfl.ch
- one DNS lookup for www.ethz.ch
- one TCP connection with www.epfl.ch
- one TCP connection with www.ethz.ch
- UDP socket for communicating to the local DNS server
- TCP socket for communication to www.epfl.ch
- TCP socket for communication to www.ethz.ch
- I was under the impression that both, client and server, need 2 TCP sockets for communicating, one listening and one sending socket. Is that incorrect?
- Why is only one UDP socket required, although we are performing to separate DNS queries. It our DNS client running an open UDP socket all time?