emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is it possible to change the recv buffer size dynamically for network pr


From: HaiJun Zhang
Subject: Is it possible to change the recv buffer size dynamically for network process or subprocess?
Date: Sat, 21 Mar 2020 11:01:05 +0800

For example, I have binary message format like this:
  1. It has a four-bytes header and payload.
  2. The four-bytes header is the payload size of the message.
First I want to set the size of the recv buffer to 4. After the four bytes arrived, I parse them and get the size of the payload. Then I set the size of the recv buffer to the size of the payload to recv the payload.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]