Networking, Protocols, and Devices
Ethernet shield - multiple connections
Topic: Ethernet shield - multiple connections
(Read 3732 times)
Re: Ethernet shield - multiple connections
Jul 05, 2012, 03:13 pm
: Jul 05, 2012, 05:15 pm by SurferTim
Ahh! That was the point! I was not testing originally for the pointer. It was a test to check how buffers overflowed into each other. I think you participated in that thread. The "terminating zero" in that "string" is testend.
edit: The testPTR between the test and test2 was an afterthought to see if it had allocated memory.
The way I see it, if memory was allocated, Serial.println(&test) should have printed "test", not "123". That would have been Serial.println(&test).