I have a variable that holds these sets of characters:
char recvBuff[1024] = "OK lastname,firstname 127.0.0.1";
I'm trying to parse the 127.0.0.1
IP address from that entire string and assign it to another variable. How can I parse this IP address from the string?
(I don't need 127, 0, 0, and 1 separate. I need "127.0.0.1" as a whole string.