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

Solve Please Don’t Understand new material teacher is teaching
What is the slope of (-8,1) (6,8)
the power of the federal government are
"How have women contributed to the field of space exploration?"
(5x+6) (12x-2) find x
compute. -2.34 + (-6.52)
a store sells paper towels in different size packs. A pack of 6 rolls costs $1.50. A pack of 9 rolls costs $2.70. A pack of 2 rolls costs $0.75. Which pack has
Pure water at sea level weighs __ pounds per cubic food A. 32.2 B. 62.4 C. 39.4 D. 78.2
The tempatire was -13°f and then rose 9°f
Rewrite 3x-y=-4 in slope-intercept form