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

Stewart, the owner of ABC Construction, agreed with Joan, the owner of XYZ Hotel that he would complete renovations on her upper scale hotel on the beach in Flo
There are 32 chips numbered from 1 to 32 placed in a barrel. One chip is randomly pulled from the barrel. What is the probability that the number on the chip is
The point-slope form of a line that has a slope of and passes through the point (3, 0) is shown. y - 0 = 2(x – 3) What is the equation in slope-intercept form?
Might a teenager growing up in Kenya in the 1950s have had a different view?
Before the American revolution Great Britain was??
PLEASE HELP I WILL BE AWARDING :)
Example of executive
Which is the largest level of classification on this list? A.Class B.Phylum C.Kingdom D.Order
I need help writing a thank you letter to my mentor(a teacher that i teaches me how to become a teacher) what do i say in my note?? ​
20 POINTS PLEASE HELP What is the correct meaning of the word random. The teacher made a random choice of students to work on the project