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

The ______ was established in 1943 to assist in the transition from a peacetime to a wartime economy ?
What were the contributions of the Harappan civilization?
josh wanted to buy a bicycle but didn't have enough money. After josh told his troubles to sam slick, sam said,"I can fix that. see that fence? each time you ju
josh wanted to buy a bicycle but didn't have enough money. After josh told his troubles to sam slick, sam said,"I can fix that. see that fence? each time you ju
What were the contributions of the Harappan civilization?
What is the creepiest sounding scale? What scale would u use for writing creepy music in other words
What all the multiples of 81?
The ______ was established in 1943 to assist in the transition from a peacetime to a wartime economy ?
Forget the motor When im on the boat Think of the best time To buy a new coat What am I......?
The ______ was established in 1943 to assist in the transition from a peacetime to a wartime economy ?