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

To prevent rust from forming, a light coating of_____should be applied to all machined surfaces
Which one is it A. B. C. or D.
How did the enlightenment thinkers affect historical documents?
find the volume of the square pyramid. a: 1452 ft^3 b: 4356 ft^3 c: 484 ft^3 d: 726 ft^3
"❗️PLEASE HELP ME❗️" How are the religions of Jainism and Buddhism alike? How are they different?
The messages that contemporary society sends adolescents are:
Daniel spent a day hiking through a wildlife preserve. During the first hour of the hike, he drank 2 13/10 liters of water. write a fraction greater than one a
3^-9 / 3^-12 a. 1/3^21 b. 1/3^3
Kayla's target heart rate zone is 142bpm—179bpm. Tia's target heart rate zone is 150bpm—183bpm. They stop cycling and take their pulse, and both count the heart
Does any one know this please? I'm about to graduate I really need help.