Skip to content
Snippets Groups Projects
  • Bryce McKinlay's avatar
    25fef12b
    ServerSocket.java: Define ANY_IF. · 25fef12b
    Bryce McKinlay authored
            * java/net/ServerSocket.java: Define ANY_IF.
            (ServerSocket (int,int)): Use ANY_IF instead of null to bind to
            all network interfaces.
            * java/net/DatagramSocket.java (DatagramSocket): ditto.
            * java/net/natPlainSocketImpl.cc (bind): Expect 0.0.0' instead of
            null.
            * java/net/natPlainDatagramSocketImpl (bind): Expect 0.0.0'
            instead of null.
    
    From-SVN: r28429
    25fef12b
    History
    ServerSocket.java: Define ANY_IF.
    Bryce McKinlay authored
            * java/net/ServerSocket.java: Define ANY_IF.
            (ServerSocket (int,int)): Use ANY_IF instead of null to bind to
            all network interfaces.
            * java/net/DatagramSocket.java (DatagramSocket): ditto.
            * java/net/natPlainSocketImpl.cc (bind): Expect 0.0.0' instead of
            null.
            * java/net/natPlainDatagramSocketImpl (bind): Expect 0.0.0'
            instead of null.
    
    From-SVN: r28429