Files

35 lines
436 B
Markdown
Raw Permalink Normal View History

---
id: 5ea9997bbec2e9bc47e94db0
title: 创建一个 TCP 客户端
challengeType: 11
videoId: ugYfJNTawks
bilibiliIds:
aid: 933058124
bvid: BV16M4y1g7zL
cid: 409034338
dashedName: creating-a-tcp-client
---
# --question--
## --text--
哪种套接字对象方法让你设置客户端一次接受的最大数据量?
## --answers--
`.recv(1024)`
---
`.decode('ascii')`
---
`.connect(host, port)`
## --video-solution--
1