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

How did women's liberation after 1968 differ from the women's movement of the early 1960s?
Quadrilateral ABCD has coordinates (3, 1), (4, 4), (7, 5), (6, 2). Quadrilateral ABCD is a Answer a. square because its length and width are both square root
What species has the greatest impact on the biosphere?
Where would you go to locate each of the following: resources on the Internet, library books, and magazine articles?
The formula for determining the frequency, f, of a note on a piano is f=440(2)^h/12 where h is the number of half-steps from the A above middle C on the keyboar
Question 1 (1 point) Question 1 Unsaved Elige la palabra correcta. (Fill in blank #1) This apple is sweet. That apple is sweeter. But that apple over there is t
Which characteristic is used to divide aquatic biomes into three zones?
What are 12 all the prepositions??
A round or canon uses _______ imitation. A. simple B. standard C. strict D. variable
The ability of preschoolers to delay gratification has been found to be associated with: