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

Please help me asap !!
Which body system releases heat through muscle contractions to maintain an optimal body temperature?
Can you guys please help thanks
What is the minimum personal protective equipment (PPE) you should have avallable! respirator disposable gloves, CPR barrier mask, eyewear, footwear disposable
Pls help me pls I have a test
Finish breaking the sentence into three separate ideas. Quick
One example of how george washington became involved with foreign affairs.
what is condensation ? ​
Help me pleaseeeee !!!!!!!!
Pleaseeeee helpppppppp meeeeeeee pleaseeeee helppppppp