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

renaissance the last supper
A 2.0 kg hanging mass stretches a coiled spring by 0.15 m. The spring constant, k, is: (A) 0.075 N/m, (B) 2.9 N/m (C) 131 N/m, (D) 1,742 N/m, (E) none o
A spring-loaded toy gun is used to shoot a ball of mass 1.5 kg straight up in the air, as shown. The spring has spring constant 777 N/m. If the spring is compre
What is a list of non-rodent eating snakes? What is the kindest and most handle able ?
In the figure below, segments AC and AB are tangent to circle E. If AC is equal to 10 cm, then segment AB is equal to 20 cm.
Drops of rain fall perpendicular to the roof of a parked car during a rainstorm. The drops strike the roof with a speed of 15 m/s, and the mass of rain per seco
Michelle is on a secret mission to reclaim artifacts that were recently stolen from the National Museum. The artifacts are located in a private manor just outsi
Can someone help me with questions 25 through 28
What is the value of n?
Find the equation in slope-intercept form that describes a line through (4, –2) with slope –3