thanks for the help, but i'm not sure if strcmp is what I'm looking for.

Even though the data sent through send() is a char *, it isn't compared in an if statement as one. I just need to know how to use the received variables (using recv()) in an if statement properly.