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

Marika and Freddy sold 70 homes for Ron Realty. If Marika sold 2.5 times as many homes as Freddy, how many homes did each sell?
Can someone use the word delta in a sentence
find an equivalent expression without parentheses -(50x-15y+15)=
Marika and Freddy sold 70 homes for Ron Realty. If Marika sold 2.5 times as many homes as Freddy, how many homes did each sell?
How is it possible for Mercury to have frozen ice ?
How is it possible for Mercury to have frozen ice ?
Which equation has the same y-intercept as y=4x-3?a. y-3=x              b. y=8x+3    c. 3-y=4x      d. y=-3+8xWhich of the following is the equation of the line
(10y^3+20y^2+55y)/5y
find an equivalent expression without parentheses -(50x-15y+15)=
Historians of china have traditionally dated the beginning of Chinese civilization to the founding of the what??