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

Why might it be easy to overlook cancer in its early stages
Based on the recent data in the table how had India’s observance for the rule of law differed from that of Algeria
a. If an item is discounted 20%, the sale price is what percent of the original price? b. If the original price of the item is $400, what is the dollar amount o
Contrary to popular perception (A) The West was the most urban region in America. (B) Most immigrants who settled in the American West did not disturb the envir
what is the relationship between mass, volume, and density
Prove that the product of any two consecutive natural numbers is even.
which is an inner planet
Jamal is doing electronics engineering research and determines the result of his analysis can be expressed in terms of Complex Numbers. His result is (8-4i)(3i+
Which of the following hospice services addresses symptoms that cannot be managed in the patient's place of residence? Respite care Continuous care General Inpa
Which object is a gaseous giant?