Instead of moving node.message to char sendbuffer[], pass node.message by reference to send() and sendWithRetry() to save space consumed by sendbuffer[].
61 bytes can be saved.
At the same time, we need to take care because in networkMode, if sendbuffer[] is eliminated, node.message will be modified and user won't be aware of this, leading to unexpected behaviour for the user.
Instead of moving node.message to char sendbuffer[], pass node.message by reference to send() and sendWithRetry() to save space consumed by sendbuffer[].
61 bytes can be saved.
At the same time, we need to take care because in networkMode, if sendbuffer[] is eliminated, node.message will be modified and user won't be aware of this, leading to unexpected behaviour for the user.