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

31 lines
430 B
Markdown
Raw Normal View History

---
id: 5ea9997bbec2e9bc47e94db0
challengeType: 11
videoId: ugYfJNTawks
---
## Description
<section id='description'>
</section>
## Tests
<section id='tests'>
```yml
question:
text: |
Which socket object method lets you set the maximum amount of data your client accepts at once?
answers:
- |
`.recv(1024)`
- |
`.decode('ascii')`
- |
`.connect(host, port)`
solution: 1
```
</section>