Ok i have a char with ''/afile.html" assigned to it. The extensions of it can vary so i need to get the extension to a seperate char to compare it with something else il show you what i have.... Basically i need everything after the '.'
char resource[16];
n = sscanf(buffer,"%s %s %s", req, resource, proto);
// This extracts the resource from the buffer
// Now i need to get the extensions of the reource char to use later