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

What length of beam is needed to join the walls?
Most organisms today use __ as the hareditary material
How many moles of PbS are equivalent to 458 g PbS?
How many grams are in 4.40 mol of sodium chloride (NaCl)?
During therapy, an exhibitionist is asked to imagine what his/her behavior was like from the perspective of the victim. what type of treatment is this person mo
Giselle works as a carpenter and as a blacksmith. She earns $20\$20 $20 dollar sign, 20 per hour as a carpenter and $25\$25 $25 dollar sign, 25 per hour as
What is the slope of this line?
Which was Congress’s response to the Nullification Crisis? a law that forbade the federal government from using force to collect tariffs a law that allowed
Read the excerpt below and answer the question. Summer was on the way; Jem and I awaited it with impatience. Summer was our best season; it was sleeping on the
Which three lengths could be the lengths of the sides of a triangle? 9 cm, 15 cm, 22 cm 21 cm, 7 cm, 7 cm 13 cm, 5 cm, 18 cm 8 cm, 23 cm, 11 cm