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

President Johnson eventually asked for and received a declaration of war against the country of North Vietnam. True or false?
explain how comparison tangent of 45 and 738 is different from comparing 645 and 649 and how to draw that
do you say i am from nebraska in french
a child walks 35 meters in 7 seconds. calculate the child's speed.
Which inequality models this problem? reiko started a business selling home medical supplies. she spent $6500 to obtain her merchandise, and it costs her $550 p
How do you rank these ions according to their radius? Rb+ Se2- Br- Sr2+ As3-
All people who are shy have high communication apprehension in all areas of life true or false
the current passing through a room heater has been halved .what will happen to the heat produced by it?
Give me an example of an acrostic adaptation poem
Read the sentence. I want to be a doctor, I have to do well in science class. Which revision most effectively corrects the comma splice? A. I want to be a d