Files
freeCodeCamp/curriculum/challenges/chinese/09-information-security/python-for-penetration-testing/understanding-sockets-and-creating-a-tcp-server.md
2020-10-06 23:10:08 +05:30

457 B

id, challengeType, isHidden, videoId
id challengeType isHidden videoId
5ea9997bbec2e9bc47e94daf 11 false F1QI9tNuDQg

Description

Tests

question:
  text: |
    Which of the following functions creates a socket object?

  answers:
    - |
      `socket.bind((host, port))`
    - |
      `socket.gethostbyname()`
    - |
      `socket.socket(socket.AF_INET, socket.SOCK_STREAM)`
  solution: 3