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

One weakness of the articles of confederation was that it
I need help in number 2 ASAP please
Carbohydrates: select one: a. in the form of oligosaccharides are often covalently bonded to proteins and lipids on the outer cell surface, where they serve as
Noah has meter of rope . How many pieces of rope of length 1/2 meter can he cut from it ? Draw a diagram to illustrate your solution . 14 POINTS
Which marketing management philosophy focuses on the question, "what can we make or do best?"?
URGENT PLEASE PLEASE HELP! ** will mark brainliest
Please help me out with this
Why did king george iii refused to consider the colonists declaration of rights?
After his stroke, brain slowly recovered function in his right arm. the property of the brain that supports learning and recovery of functions lost after brain
Describe the topography of the island visited by Columbus.