thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Craig <bencr...@apache.org>
Subject Re: Bind to ip for socket server
Date Mon, 30 Sep 2013 13:19:55 GMT
> Am I missing something or does the implementation of TServerSocket 
> not provide an api to specify the ip address to bind on?
> 
> I can only provide a socket and then Thrift impl just takes the 
> first available ip using getaddrinfo... Correct?
> 
> The Java version seems to provide a bindaddress...

The C++ implementation does not currently provide a way to bind to a 
specific address.  If you can provide a patch, I can see about getting 
such a feature in the next release of Thrift.

http://thrift.apache.org/docs/HowToContribute/


Mime
View raw message