thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Smith <>
Subject How to discover the bound port for a TServerSocket?
Date Tue, 17 Aug 2010 12:54:58 GMT
I'm trying to use TServerSocket (in java) without specifying a port.  The classic pattern is
something like:

ServerSocket sock();
int myPort = sock.getLocalPort();

but TServerSocket doesn't appear to have the getLocalPort() functionality.  Am I missing something,
or does this really not exist?

View raw message