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

Which of the following statements shows the halving and doubling strategy to find 28 x 50
Guest at a pizza party are seated at three tables. The small table has 5 seats and 2 pizzas. The medium table has 7 seats and 3 pizza. The large table has 12 se
What number is .72 more than .971?
How do you know the wave is a mechanical wave?
Who traveled to Japan in 1852, setting up two trading posts and opening the country to trade with the West? A. Otto von Bismarck B. Simón Bolívar C. Thomas Jeff
is 2/9 closest to 0 1/2 or 1
what is the metaphor in the sentence "time was the great millstone, which ground is to dust like kerneled wheat?"
what is the greatest common factors of 12 and 27
is it true 5.14 = 21/4?
what is the expanded form of 0.78