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

Given that 5 x − 3 y = 32 Find y when x = 4
what 2 gasses are involved in the formation of acid rain
if f(x) =2x-1 and g(x)=x^2-3x-2, fins (f+g)(x)
In what ways does the legacy of the Cult of Domesticity still exist in the 21st century?
In a survey, the planning value for the population proportion is p* = 0.26. How large a sample should be taken to provide a 95% confidence interval with a margi
3. What charts, tables, or drawings would clearly show what you have learned in this lab?lab:owl pellets Each chart, table, or drawing should have the following
Answer 1 of the 2 questions in this picture in the next 5 min I’ll give you a lot of points please and thank you!
Because of high production-changeover time and costs, a director of manufacturing must convince management that a proposed manufacturing method reduces costs be
Will Mark Brainliest Outgoing tides can pull organisms out of the intertidal zone and into the open ocean. How does this limit the number of organisms that can
if four points are collinear, they are also coplanar