annonomus2748 annonomus2748
  • 01-12-2021
  • Computers and Technology
contestada

When should you close the socket python tcp server client.

Respuesta :

Talanat
Talanat Talanat
  • 01-12-2021
f socket refers to an open TCP connection, the connection is closed. If a stream socket is closed when there is input data queued, the TCP connection is reset rather than being cleanly closed. The descriptor of the socket to be closed

To close the socket you need to call shutdown() first and then close(), and shutdown takes an argument
Answer Link

Otras preguntas

A spinner is divided into 16 sections.3 sections are red 6 are blue 5 are purple and 2 are orange. If you spin the spinner what is the probability that you will
write the value of the dijit 5 in 657
373 of 500 in fractions and decimal
what are two determining factors in how organisms are classified into kingdoms
what are the effects of global warming
I need help writing a 5 paragraph persuasive essay. The topic is: Agree/Disagree, stories with Suprise endings using situational irony is the best. I agree, but
florence has only $420 in her hank account. describe how to find the amount after she writes a check for $590
What constitutional principle did the supreme court establish in the McCulloch case
what variables can affect the number of books sold by a door to door salesperson
Convert 57 mL to its equivalent in L using dimensional analysis