February 06, 2015 Re: Trying to make a TCP server, client connects and disconnects immediately | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gan | On 2015-02-06 at 05:17, Gan wrote:
> Oh sweet. Though if one message length is off by even 1 byte, then all future messages get corrupted?
Yes, but you can easily detect that by adding a magic number and packet checksum to the header.
|
Copyright © 1999-2021 by the D Language Foundation