version 1.40.130 release
[feisty_meow.git] / octopi / library / sockets / tcpip_stack.cpp
index f45ea6aaf73557705066bb1abf47e76f55a2ecdb..6ef9141c6125350eb9e59e2665d3e7960229ead1 100644 (file)
@@ -35,6 +35,7 @@
 using namespace basis;
 using namespace loggers;
 using namespace structures;
+using namespace textual;
 
 namespace sockets {
 
@@ -251,7 +252,7 @@ bool tcpip_stack::enumerate_adapters(machine_uid_array &ip_addresses,
 
 sockaddr tcpip_stack::convert(const internet_address &make_from)
 {
-//  FUNCDEF("convert [to sockaddr]");
+  FUNCDEF("convert [to sockaddr]");
   sockaddr_in new_socket;  // our socket.
   memset(&new_socket, 0, sizeof(new_socket));  // clear it out.
   new_socket.sin_family = AF_INET;
@@ -308,7 +309,7 @@ byte_array tcpip_stack::full_resolve(const astring &hostname,
 bool tcpip_stack::resolve_any(const astring &hostname,
     internet_address &to_return) const
 {
-//  FUNCDEF("resolve_any");
+  FUNCDEF("resolve_any");
   to_return = internet_address();
   if (!hostname) return false;  // blank hostnames go nowhere.
   astring full_host;
@@ -324,7 +325,7 @@ bool tcpip_stack::resolve_any(const astring &hostname,
 
 astring tcpip_stack::dns_resolve(const astring &hostname) const
 {
-//  FUNCDEF("dns_resolve");
+  FUNCDEF("dns_resolve");
   if (!hostname) return "";  // blank hostnames go nowhere.
   if (hostname.iequals("local") || hostname.iequals("localhost")) {
     return "127.0.0.1";