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

please solve this question no C...​
What does "the sun and her flowers" talk about?
Please help me -tan^2 x+sec^2 x=1
Which type of reaction occurs in the following? 2HgO(s) -- 2Hg(l) + O2(g) 1. a decomposition reaction in which a metal is reduced 2. an acid-base neutraliza
please solve this question no C...​
Julian is using a biking app that compares his position to a simulated biker traveling Julian's target speed. When Julian is behind the simulated biker, he has
Rory visits South America, and while he explores the cities he visits, he watches the locals and notices differences between them and people from his hometown,
If 2(4x + 3)/(x - 3)(x + 7) = a/x - 3 + b/x + 7, find the values of a and b.
A table top is made of circular glass what is the circumference of the table if it has a radius of 21 cm?
20 Points to whoever helps, thank you! :) Design five equations, like 3x + 4 = 16. Make sure that the solutions to the equations are integers. In other words, 3