This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java.net.Socket.connect always times out with connection timeout of non-zero


Hi Jacob,

I can confirm this bug, and your fix looks good to me. It looks like accept() is also affected by the same problem, so I am going to check in this modified patch.

Regards

Bryce.


Attachment: SocketImpl.patch
Description: Binary data






On Thursday, Aug 7, 2003, at 08:22 Pacific/Auckland, Jacob Gladish wrote:


I found, what I believe is a problem in the java.net.Socket class where
the connect() method always times out when passing in a timeout value of
anything greater than zero. I applied the following change to the
natPlaingSocketImpl.cc class, and it appears to be working fine now.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]