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

graphical representation of: 3x+2y=18 4x-3y=7
PLEASE HELP ME PLEASE!
What would seasons on the earth be like if the axis weren't tilted?
How many 1 3 ounce servings are available in 6 ounces? A) 10 servings B) 14 servings C) 18 servings D) 24 servings
Which of the following statements is true? An atom consists of protons, electrons, and neutrons. An atom consists of protons and neutrons. An atom consists o
The Book of the Sea was a collection of A. poems. B. military treatises. C. laws. D. maps.
HELP!!!! URGENT!!!!!! 14 POINTS!!!!!! what hemisphere would it be if the rainy season was during the fall and winter?
¿Qué hacen? Answer the questions using direct object pronouns and the information provided. Follow the model. Use correct capitalization and punctuation. Modelo
Which accurately describe the impact of Magellan’s exploration efforts on European society?
Quelle phrase decrit ce que tu vois