35 lines
501 B
Markdown
35 lines
501 B
Markdown
![]() |
---
|
||
|
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
|
||
|
|