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

PLS HELP SQDANCEFAN!!!!!!! Given: circle k(O), the measure of arcs PL=80°, PY=150° Find: m∠YPL Thx :)))
kepler devised three laws to explain the. in the universe​
which statement best decribes the us governments role with the banking industry at the beginning of the depression?​
The location of continents has no affect on their climate. Please select the best answer from the choices provided T F
HELPPP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WILL MARK FIRST PERSON THE BRAINLIEST!!! Here are four short book summaries. Which book is most likely to be read by
what is -4,5 reflected across the x axis
The graph of the function B is shown below. Find B(2) A. -1 B. 1 C. 2 Help please! 50 points
What is the total area of the polygon?
Another term for measurement data is A) quantitative data. B) categorical data. C) qualitative data. Eliminate D) bivariate data.
How many chambers are found in the heart? What other group of organisms would have this same number of chambers?