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

What was the purpose of the International CottonExpositions?​
What is the solution to his equation 2x+6=20
Tracking is a form of gatekeeping in which students are sorted by their perceived abilities rather than their achieved abilities.
How were the economic ideologies of the United States and the Soviet Union different?​
which advantage did the North have over the South at the start of the Civil War? A.it had a smaller population that required less food and less supplies.
What is the product?
What are two important minerals for the nervous system
Which fact is the BEST piece of supporting evidence that overproduction and falling prices was a cause of the Great Depression?
WILL GIVE BRAINLIEST! How does China relate to the other ancient civilizations such as Mesopotamia, Egypt, Indus Valley, The Mauryan empire, and the Gupta empir
Given: p: 3x + 7 = –5 q: 4x + 12 = –4 Which is the contrapositive of p → q?