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

Given that lines AC and GE are both perpendicular to line BF, and AG and CE are both perpendicular to GE, you can conclude
Review the notes on Henrietta’s medical history found on page 16. Based on the objective details in her medical chart, what can you infer about Henrietta’s lif
Tony pascalucci often wears a shirt that says, "kiss me, i'm italian." he flies the italian flag at his u.s. home, greets people by saying, "buongiorno," and is
____ is the rate of change in velocity.
Write a paragraph describing your thoughts on HTML
Given that f(x) = 4x − 3 and g(x) = quantity of 2x minus 1, divided by 3, solve for g(f(2)).
Which is an organic compound?
How can a patient and nurse effectively interact and communicate when that patient has a tracheostomy?
Identify the prepositional phrase. The headlines announced a truce between the two countries. A. a truce between B. The headlines announced C. between the two c
How do I make a cladogram? I have five species: finch, cardinal, robin, blue jay, and pelican.