ethernet udp - do ANYTHING with received buffer
how work buffer output of example file?
is outputting string, , if how compare anything?
if(packetbuffer == "thing") { stuff; } doesn't work, that's i'm trying to.
for idiot knows fuckall c, it's great example works can't besides print things out on serial monitor. serial.println can handle whatever buffer nothing else can. it'd nice if there else in example this.
help?
is outputting string, , if how compare anything?
if(packetbuffer == "thing") { stuff; } doesn't work, that's i'm trying to.
for idiot knows fuckall c, it's great example works can't besides print things out on serial monitor. serial.println can handle whatever buffer nothing else can. it'd nice if there else in example this.
help?
you know answer problem.
you going have learn thing c
clue
http://www.cplusplus.com/reference/cstring/strcmp/
more helpfully.
generally, it's idea learn bit of c, before start trying use network applications.
i thoroughly recommend book
http://it-ebooks.info/book/1581/
you going have learn thing c
clue
http://www.cplusplus.com/reference/cstring/strcmp/
code: [select]
if (strcmp(packetbuffer, "thing") == 0) {
serial.print("yay! know thing c\r\n");
}
more helpfully.
generally, it's idea learn bit of c, before start trying use network applications.
i thoroughly recommend book
http://it-ebooks.info/book/1581/
Arduino Forum > Using Arduino > Programming Questions > ethernet udp - do ANYTHING with received buffer
arduino
Comments
Post a Comment