works with python client and server in C