boost asio: “host not found (authorative)”
I am making a program for school in which two programs communicate with each other. So far I have not been able to connect the two programs. Whenever I try to connect to localhost:8888 or 127.0.0.1:8888, the error "Host not found (authoritative)" occurs. So far my code is this: Connection.cpp Connection::Connection(std::string Arg) { try { tcp::resolver resolver(io_service); cout<<Arg<<endl; tcp::resolver::query query(Arg, "daytime"); tcp::resolver::iterator endpoint_iterator = resolver.resolve(query); tcp::resolver::iterator end; tcp::socket socket(io_service); socket_p = &socket; boost: