Post Created date
This is a goodian, tcp lost packets
To detect lost packets, you have to use a retransmission timer. If you don't receive an acknowledgment for a sequence number before the retransmission timer expires, send the...
Saturday, 4 November 2017 - 00:00
This is a goodian, tcp lost packets
A TCP receiver will acknowledge a sequence number only when it has received all bytes up to (but not including) that sequence number.   Say a host receives two packets with...
Friday, 3 November 2017 - 23:53
Advanced macro technology
This is starting to sound like an XY problem.
Thursday, 26 October 2017 - 16:01
SD card library file naming limitation
See the "File Naming" section at
Thursday, 26 October 2017 - 00:04
Arduino "String" class vs c++ "std::string" class: which is faster?
jaksel wrote: Transmitting each character takes around (1/9600)*10 = 1.04 ms if running at 9600 baud 8N1. If you insert a 10 ms delay for each character then it is quite possible...
Wednesday, 25 October 2017 - 17:18
compilers are giving different results
MarkThomas wrote: I had a project with a variable "volatile uint8_t foo" in one file and "extern volatile char foo" in another file and it compiled fine.  I guess the...
Friday, 20 October 2017 - 22:29
What Makes C++ "Hard"?
mojo-chan wrote: Bah, where's my magnetized needle? I use butterflies.
Tuesday, 1 August 2017 - 16:27
Zeroring out an array
I think this discussion has gone off into the weeds with talking about string functions, while my impression is that the OP just wants to safely append a character to the end of...
Thursday, 27 July 2017 - 17:39
Overhead - C++ vs C ?
Re: number 4 (setters and getters): if you define small setters and getters in the class definition (such as simple read or write access to the private members), g++ is smart...
Thursday, 27 July 2017 - 00:15
Solved: Can't make encoder work correctly
The code in the article has this line: old_AB |= ( ENC_RD & 0x03 ); While your code has this line: old_AB |= (ENC_PORT & 0x0C); //read pins 2 and 3 simultaneouslyI...
Tuesday, 25 July 2017 - 18:32
Please share C++ projects that is based on OOP
JohanEkdahl wrote: Interesting. I will definitively have a look. Still, the author does the mistake (IMO) of not adopting the naming style of classes beginning with a capital...
Monday, 24 July 2017 - 15:54
What Makes C++ "Hard"?
OK, I'm at a computer now with some examples to show what I mean.   Here's my first example of designated initializers, for mapping arrays: const char *error_messages...
Sunday, 23 July 2017 - 23:41