Files
freeCodeCamp/curriculum/challenges/italian/09-information-security/python-for-penetration-testing/understanding-sockets-and-creating-a-tcp-server.md

35 lines
500 B
Markdown
Raw Permalink Normal View History

---
id: 5ea9997bbec2e9bc47e94daf
title: Comprendere i socket e creare un server TCP
challengeType: 11
videoId: F1QI9tNuDQg
bilibiliIds:
aid: 848005038
bvid: BV1bL4y1a7kJ
cid: 409034113
dashedName: understanding-sockets-and-creating-a-tcp-server
---
# --question--
## --text--
Quale delle seguenti funzioni crea un oggetto socket?
## --answers--
`socket.bind((host, port))`
---
`socket.gethostbyname()`
---
`socket.socket(socket.AF_INET, socket.SOCK_STREAM)`
## --video-solution--
3