thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akshat Aranya <aara...@gmail.com>
Subject C++ TServerSocket using OS-assigned port
Date Thu, 25 Apr 2013 19:41:46 GMT
Hi,

In my C++ application, I want to start a Thrift service on an
OS-assigned port by using the port zero when initializing
TServerSocket.  However, I see no way of determining the actual port
that gets assigned.

Is there some way I could get hold of this information?  The
serverSocket_ field is not exposed and there's no public function to
get hold of this information either.  Is this something that the
developers would consider adding?

Thanks,
Akshta

Mime
View raw message