thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III" <>
Subject Re: Connection to an empty IP address unexpectedly works
Date Wed, 17 Oct 2018 12:13:58 GMT
Assuming the behavior is that it connects on loopback?  You did not specify
the behavior
you are seeing.  Best guess is that your platform's getaddrinfo()
implementation treats an
empty "node" argument the same way it would treat a NULL, which means the
returned is suitable for local connections.

Also, you don't need to convert ipAddress to c_str() if it is already a
The constructor takes a const string ref, so this conversion to c_str() is

- Jim

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message