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

According to Byron why do garbage trucks have wide back doors
What is the average low and high in rest region usa fareinheit
What kind of angle is created by the intersection of two perpendicular liner rays, or line segments?
The population of a city increases by 2.3% per year. If this year's population is 157,000, what will next year's population be, to the nearest individual?
HELP NEEDED ASAP The surface area of this cylinder is 2,461.76 square feet. What is the height? Use pi as 3.14 and round your answer to the nearest hundredth. T
add expression -3x^2+ 2xy+ 4y^2, 11y^2+8x^2
What is daily life like for people in East Africa?
How do Anne's feelings towards Dussel shift in Anne Frank: The Diary of a Young Girl?
find asymptote and graph y=2.5 divided by x
Good afternoon lovelies!(^∀^●)ノシ Question, or rather challenge: Name one powerful girl, who gets enough screentime, has a personality, and isn't dead from Naru