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

What is (d plus 3) plus 8 simplified?
Which sentence has a correctly placed participial phrase? a. Lasting over four hours, my friends threw a party at an amusement park. b. My friends lasting ove
Which of the following expressions could you use to estimate 47% of 89? 1/2 x 90 0.5 x 90 0.47 x 89 90/2
Find the slope of 5y=130-13x
Matthew has 30 stamps in his collection. Matthew's father has 10 times stamps as Matthew. How many stamps does Matthew's father have?
A deciliter is how many times larger than a millimeter?
Convert 2.83 days into seconds
Plessy v. Ferguson was one of the most important legal cases in American history. What impact did the Supreme Court's decision have on race relations in the U.S
A squared plus b squared
When France fell to the Nazis in 1940, President Roosevelt issued the first-ever ________ draft. A. wartime B. nationwide C. peacetime D. selective