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

10. Three kinds of teas are worth $4.60 per pound, $5.75 per pound, and $6.50 per pound. They are to be mixed together to get 20 pounds of tea worth $5.25 per p
The sum of ten and the quotient of a number 2 and 6.
How would I answer this equation? E= mc^2 for m
Which statement about the effect of Spanish Missions on American Indian religious practices is correct? A. Europeans forced many American Indians to convert to
Tell me all the properties of algebra
estimate the square root of 30
What is a sea route from Atlantic to the pacific that passed through North America? A)a trade route B)strait C)northwest passage
Consumers have little ability to encourage businesses to act in a socially responsible manner. True False
Which characteristic of life should be the title of this graph
11. Choose the best answer. Which of these sentences uses the perfect tense of the please help due in 45 minutes i appreciate anything