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

If x= (a^2)/b, which situation would always double the value of x? (1) Doubling the value of a(2) Halving the value of a(3) Doubling the value of b(4) Halving t
3)    Write an equation for a graph that is the set of points in the plane that are equidistant from the point  F(6,0) and the line x = -6.
solve the formula for the indicated variable  c=yt+y,for t (the solution is t=___)
How does a Retinal Scan Work?
what is a vortex? need some help
when did grass evolve?
Could you tell me what Are Spores?
simplify p8/p2can you help me with this question...anyonnnneee...????
Which is the correct solution set for 4x^2 +4x -3 = 0? (1) {2,-3}(2) {1/2, -3} (3) {1,2}(4) {1/2, -3/2}
could you tell me what is an embryo?