Re: Bind to ip for socket server

2013-09-30 Thread Ben Craig
> 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 bindaddr

Bind to ip for socket server

2013-09-30 Thread Dan Engelbrecht
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... Best,