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

484 B

id title challengeType videoId bilibiliIds dashedName
5ea9997bbec2e9bc47e94daf 了解套接字并创建 TCP 服务器 11 F1QI9tNuDQg
aid bvid cid
848005038 BV1bL4y1a7kJ 409034113
understanding-sockets-and-creating-a-tcp-server

--question--

--text--

以下哪个函数创建套接字对象?

--answers--

socket.bind((host, port))


socket.gethostbyname()


socket.socket(socket.AF_INET, socket.SOCK_STREAM)

--video-solution--

3