You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Vivek Goel <go...@gmail.com> on 2012/11/08 10:00:38 UTC

How to check if server called is failed ?

HI, I am using thrift cpp library for thrift server. I am using threadpool
in the server code.
I am calling serve to start processing. But as serve is a void call and
blocking call. How can I check if binding on port was success or failed ?
regards
Vivek Goel

Re: How to check if server called is failed ?

Posted by Vivek Goel <go...@gmail.com>.
Sorry statement was wrong. serve call will return if it is not able to bind
on port.

regards
Vivek Goel



On Thu, Nov 8, 2012 at 2:30 PM, Vivek Goel <go...@gmail.com> wrote:

> HI, I am using thrift cpp library for thrift server. I am using threadpool
> in the server code.
> I am calling serve to start processing. But as serve is a void call and
> blocking call. How can I check if binding on port was success or failed ?
> regards
> Vivek Goel
>
>