I'm wanting to assign these values to a struct so I can work with them later but i'm receiving the error "error: expected primary-expression before ‘[’ token" when compiling.
You have a colon instead of a semi-colon at the end of line 50.
I suspect you meant 'clients' (the variable), not 'clientservers' (the type) on lines 49, 50, 54. (This is what is causing your stated error.)
Your strings CLIENT and CKEY on lines 34 presumably don't need the [50]: they are not arrays. Unlike c-strings, std:string doesn't declare a size like this.