Message269517
| Author |
socketpair |
| Recipients |
gvanrossum, j1m, socketpair, vstinner, yselivanov |
| Date |
2016年06月29日.15:17:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1467213460.75.0.5616956938.issue27386@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Also I recommend you to use asyncio streams, instead of reinventing wheels.
So, reading your command will look like:
data = await stream.read_exactly(4)
(len,) = unpack(">I", data)
command = await stream.read_exactly(len) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年06月29日 15:17:40 | socketpair | set | recipients:
+ socketpair, gvanrossum, vstinner, j1m, yselivanov |
| 2016年06月29日 15:17:40 | socketpair | set | messageid: <1467213460.75.0.5616956938.issue27386@psf.upfronthosting.co.za> |
| 2016年06月29日 15:17:40 | socketpair | link | issue27386 messages |
| 2016年06月29日 15:17:40 | socketpair | create |
|