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

In this type of control system, the master budget is based on a single prediction for sales volume, and the budgeted amount for each cost essentially assumes th
Revisionist powers during the Second World War included a)USSR b)USA c)UK d)China
Is it True or false?
Jeffrey is so preoccupied by his fear of germs that he always keeps his car and apartment windows sealed tightly, and refuses to allow anyone into his apartment
Please help ASAP! Who received the Silver Star for his efforts in helping to convince Japanese soldiers and civilians to surrender after battles? A) Maj Gen
Fossil A was found at a depth of 400 feet and fossil B was found at a depth of 315 feet. Which one is older? Fossil B Fossil A They are the same age Not eno
Every day, about 140,000,000 plastic water bottles are bought in the United States. Each bottle is about 0.25 meters long, and the equator of the Earth is about
Write this number as a percent? Help on this one please!
During hemostasis, which process occurs first?
Someone help me please