freeCodeCamp/curriculum/challenges/english/09-information-security/python-for-penetration-testing/understanding-sockets-and-c...

440 B

id title challengeType videoId dashedName
5ea9997bbec2e9bc47e94daf Understanding Sockets and Creating a TCP Server 11 F1QI9tNuDQg understanding-sockets-and-creating-a-tcp-server

--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)

--video-solution--

3