Hi,
I need a conversion from a ip adresse like char ip[] = "192,168,2,1" to byte clientreq[] = { 192,168, 2, 1 };
Can someone help me.
Thanks in advance.
Andreas
Hi,
I need a conversion from a ip adresse like char ip[] = "192,168,2,1" to byte clientreq[] = { 192,168, 2, 1 };
Can someone help me.
Thanks in advance.
Andreas
I need a conversion from a ip adresse like char ip[] = "192,168,2,1" to byte clientreq[] = { 192,168, 2, 1 };
Can someone help me.
You could look at the strrok() and atoi() functions.
Hello, you can also use the strtol function, example:
http://codepad.org/i8QgK2Hf