[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #1774] [Patch #1774] Fix for native PlainSocketImpl.connect(...)

From: noreply
Subject: [patch #1774] [Patch #1774] Fix for native PlainSocketImpl.connect(...)
Date: Tue, 29 Jul 2003 11:52:04 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux; X11; i686; de, address@hidden)

Patch #1774 has been updated. 

Category: None
Status: Closed
Summary: Fix for native PlainSocketImpl.connect(...)


Date: Tue 07/29/2003 at 14:55
By: crawley

This fixes a problem with connect(InetAddress, int) on
PlainSocketImpl that causes a toString() on a connected
socket to not show the remove hostname.  The problem was
that the native implementation of the connect method was
creating a new InetAddress object from the IP address of
the remote machine.  This fix reuses the InetAddress passed
as the connect parameter.  [If the remote IP address
is different to the IP address in the parameter object,
we don't do this.  However, I don't think this can happen.]

Changelog message:

        * native/jni/java-net/javanet.c (_javanet_connect) :
        Don't create a new InetAddress for the remote host.
        Instead, attach the parameter InetAddress to the
        connected SocketImpl object.


Date: Tue 07/29/2003 at 15:52
By: mkoch

Fixed in CVS

For more info, visit:

  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]