From 3fa7e380d1b61d42ead1dc5ea4260814e0244229 Mon Sep 17 00:00:00 2001 From: Vinayak Ambigapathy Date: Tue, 18 Feb 2025 18:26:25 +0100 Subject: [PATCH] Initial commit --- app/src/app.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/app.cpp b/app/src/app.cpp index 4a6d8c6..250bffa 100644 --- a/app/src/app.cpp +++ b/app/src/app.cpp @@ -21,9 +21,9 @@ struct Binder int main() { Log::Init("Bakanet"); - auto myLocalIPs = dns_lookup("google.com", IpVersion::IPv4); - for(auto i : myLocalIPs) BK_INFO(i); - IpAddress ip(myLocalIPs[0]); + //hostent* h = gethostbyname("localhost"); + //BK_INFO(std::string(h->h_addr_list[0], h->h_length)); + IpAddress ip("127.0.0.1"); HttpServer server(ip, 8080); server.get("/", [](HttpRequest& req) {