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 does 2miles=feet?
It will take approximately _____ for each consumed drink to leave your body. a. thirty minutes b. one and a half hours c. fifteen minutes if you eat food and
The equilibrium constant for the gas phase reaction N2 (g) + O2 (g) 2NO (g) is K = 4.20 x 10-31 at 573 K. At equilibrium, __________.
Explain what a hamartia is in a story.
Hi I need help I'm clueless and it's due Tomorrow!!!!
The top of the table is in the shape of an isosceles trapezoid with height 30 inches and bases 48 inches and 36 inches. What is the area of the top of the table
Best ANSWER GETS BRAINLIEST!!!!!!!!What is the slope of each line? Line A: y=-4x+5 Line B: y=3x+1
Need help and answer
using the counting principlessome lottery tickets consists of 6 numbers each ranging from 1 to 40. if repeated numbers are permitted, how many different ticket
Which best describes the field of physical geography? A. The study of patterns and processes that shape the interactions of humans with the world they live i