My program is to setup connection from a client to 2 servers. However, I don't know setup those 2 servers to test my code. I can see a weird thing. In [server1] of config file, if i change servername = ubuntu1 which i don't have ubuntu1 system, it can detect
section:[server1] entry1: ubuntu1 entry2:50000
ERROR, no such host
However, it fail can't detect same error when in the second section with servername = ubuntu2. I don't have ubuntu2 system .
Anyway, please advise on how to test my code. tks a lot.
below is the config file
servername = ubuntu
port = 50000
servername = ubuntu2
port = 37777