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

How could professional football players use technology to better understand their health?
Nonzero multiples of 12 and 15
True or false? The GCF of an odd and even number is always even
prime factors of 715?
a set of chemical reactions within an organism
In the late 1800s, experiments using cathode ray tubes led to the discovery of the (1) electron 3. positron (2) neutron 4. proton
Natural remedies are usually more effective and safer because they are thoroughly tested.
What role did noble women play in the reformation?
2-3/4x=1/8x+9 with the work shown
According to the declaration of independence, what are the three most basic rights?