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

a rectangular field with a area of 8000m2 is enclosed by 400m of fencing. determine dimensions to nearest tenth of a metre
How did southeast asia's colonial history produce increased tensions in vietnam ?
a long distance telephone company charges a rate of 8 cents per minute or 90 cent mininum charge per call, whichever is greater. Find the cost in cents per minu
57% of 109 is what number? plz help
What percent is 150 sq ft of 3000 sq ft
If A+B=76  and A -B=38 whats A divided by B
John Marshall's Supreme Court decisions in the early 1800's did all of the following, except...a.) increase the power of the federal government over the statesb
A bag has index cards with the following numbers on them: 4, 11, 13, 25, 12, and 18. If an index card is drawn randomly , what is the probabilty that a composit
A sighting from sea level to the top of a lighthouse was 60°. The lighthouse is known to rise 180 feet above sea level. What is the distance (to the nearest foo
If A+B=76  and A -B=38 whats A divided by B