RSClassic 204 client rewrite into C programming language