Pages: 1 [2]   Go Down
Author Topic: Ethernet shield - multiple connections  (Read 1381 times)
0 Members and 1 Guest are viewing this topic.
Miramar Beach, Florida
Offline Offline
Faraday Member
Karma: 152
Posts: 6191
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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[6]) should have printed "test", not "123". That would have been Serial.println(&test[11]).

« Last Edit: July 05, 2012, 10:15:51 am by SurferTim » Logged

Pages: 1 [2]   Go Up
Jump to: