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

When an object is charged, what type of subatomic particle is transferred between objects?
Someone please help me : evaluate 3st to the second power + 2s if s=5 and t=3??
What Is Ethane? Can you help me?
the measure of distance from one point to another is?
How do you divide with a two digit number? Like 183 850 divided by 48.
The first land battle of the civil war took place near ________, Virginia, on july _ _, 18_ _At this battle, the union army ___________ the confederate army.wha
At the start of "The Necklace," why does Mathilde's husband go through "great trouble" to get an invitation to the ball?
how are airplanes artificially pressurized?
When an object is charged, what type of subatomic particle is transferred between objects?
what are the effects of boiling sulfuric acid?