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

x power to 11 +101 divisible by x+1 then what is the remainder
y intercept,slope,and linear equation=​
What would be a reasonable estimate for 7m = 91
Why would a certain thickness of continental crust displace less of the mantle than the same thickness of oceanic crust?
What is the process of one ecological community changing into another
the term hassles refers to
My basketball team plays four games per week. During the first four weeks, we lost all 16 of our games. During week 5, we won three games and lost one game, bri
Must be correct and it tells me if its wrong! Which hypothesis is most supported by astronomers? 1 The universe is currently expanding and will continue to expa
Why are most of Earth's deserts located in the subtropical zone? A. These regions receive more sunlight than the equatorial region. B. These regions receive les
The "terrible two's" are largely a result of: Question 3 options: changes in brain development letting go of egocentrism of infancy development of an autonomy p