Files
freeCodeCamp/curriculum/challenges/chinese-traditional/09-information-security/python-for-penetration-testing/creating-a-tcp-client.md

31 lines
368 B
Markdown
Raw Normal View History

---
id: 5ea9997bbec2e9bc47e94db0
title: 創建一個 TCP 客戶端
challengeType: 11
videoId: ugYfJNTawks
dashedName: creating-a-tcp-client
---
# --question--
## --text--
哪種套接字對象方法讓你設置客戶端一次接受的最大數據量?
## --answers--
`.recv(1024)`
---
`.decode('ascii')`
---
`.connect(host, port)`
## --video-solution--
1