simple server client between c java