vec server and client