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

Witch of the following is not true about the theme A. A theme may be explicit or implicit B. There can be more than one theme in a narrative C. A theme is fo
Which plot element is repeated in "The Catch”? A.Ethane laughs. B.Lewess smiles. C.Leondril rescues Ethane. D.Rohan helps Ethane.
suppose a-b=0 what expression would equal ab?
Point: (-3, 7); Slope: 4
Select the equations of f the lines that are parallel to the lines whose equations is y=3x+5
How do forces in nuclear and chemical reactions differ
Do you like homework? Because I hate it I don’t know why.
When using the two-second rule, if you reach the mark before you finish counting "one thousand two", you __________ A. are not following closely enough. B. are
Someone help me please
In the late nineteenth century, all of the following were considered examples of the hazards of industrial life except? A. Floating lint B.Repetitive movement