Computer Science 360 Quiz K Name___________________ +---------+ snd FIN / \ snd ACK +---------+ | FIN |<----------------- ------------------>| CLOSE | | WAIT-1 |------------------ | WAIT | +---------+ rcv FIN \ +---------+ | rcv ACK of FIN ------- | CLOSE | | -------------- snd ACK | ------- | V x V snd FIN V +---------+ +---------+ +---------+ |FINWAIT-2| | CLOSING | | LAST-ACK| +---------+ +---------+ +---------+ | rcv ACK of FIN | rcv ACK of FIN | | rcv FIN -------------- | Timeout=2MSL -------------- | | ------- x V ------------ x V \ snd ACK +---------+delete TCB +---------+ ------------------------>|TIME WAIT|------------------>| CLOSED | +---------+ +---------+ Label each of the following states T (transient) or P(persistent) depending upon whether or not the state lasts only the time it takes to send a packet and receive an ACK (T) or whether the state can persist for an arbitrarily long time ____ 1. Fin Wait-1 ____ 2. Fin Wait-2 ____ 3. Close Wait ____ 4. Last ACK Label each of the following socket calls B (blocking) or N (non-blocking) depending upon whether return to the caller occurs within milliseconds (N) or may take an arbitrarily long amount of time: ____ 5. listen() ___ 6. accept() 7. It is common for multiple threads of a single server to be bound to a. the same socket and port b. the same socket but different ports c. different sockets but the same port. 8. For delivery of incoming TCP packets to the proper socket is based upon it suffices to know a. the destination port b. the destination port and IP address c. source and destination ports d. source and destination port. and IP addresses