I adopted your first solution and it works neatly. Also your logic matches neatly the protocol.
I ought to try alternatives suggested by other monks and get the understanding of tradeoffs.
In reply to Re: Re: IO:Socket::INET - how to receive binary data
by Rudif
in thread IO:Socket::INET - how to receive binary data
by Rudif
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |