checks for clientserver