--- Comment #5 from cjw at daneel dot dyndns dot org 2006-04-12 19:08
---
There are probably disadvantages: it doesn't seem possible to bind to 127.0.0.1
this way. So choosing the socket domain that matches the address to
bind/connect to is probably a good idea. I thought other
--- 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
--- Comment #1 from cjw at daneel dot dyndns dot org 2006-04-06 19:43
---
Created an attachment (id=11219)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11219&action=view)
Example patch to fix IPv6 support
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27066
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cjw at daneel dot dyndns dot org
GCC host triplet: powerpc-mandriva-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27066