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

Circles M and K are congruent, arc QR is congruent to arc LN and arc OP is congruent to arc VW. Find x.
Which toolwas most likely used in a procedure if the lab report shows that approximately 300mL of woter used
What was the motion picture patents company
Write logical sentences that make comparisons using the words in parentheses. En general / hay / águilas / buitres (menos... que)
what are the muscles of the frog?
If two equal sides of an isosceles triangle have length a, find the length of the third side that maximizes the area of the triangle
I need help on this question plz
An object is thrown upward. at the moment when it has reached the top of its path and its velocity is zero, the acceleration is
Help please ASAP!!!! I NEED CORRECT ANSWERS ONLY FOR BRAINLIEST
How did Mesopotamian geography affect the peoples view of the gods