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;
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;
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";