------- Comment #3 from cjw at daneel dot dyndns dot org 2006-04-06 22:38 ------- AFAICT create() is called in Socket's getImpl() method, which in turn is called from e.g. setTcpNoDelay() and calling that after a plain "new Socket()" means no bind was done yet... Anyway, the address is not passed to create() so this information is currently not available even when create() is called from bind().
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27066