🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #21

What the default timeout when new Socket()?

#21
From: Chris Wahl
Date: Sun, 19 Dec 2004 17:12
8 lines
1090 bytes
According to Javadoc, it is 0, ie, no timeout, 
but my progie really throw Exception:
java.net.ConnectException: Connection timed out: connect

Any hint?

Regards. 
TIA
Technical Details
Message-ID: <41c5b550$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,b6c356190620dff9,start
X-Google-Attributes: gid1089d0,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Chris Wahl" <chris.wahl@gmail.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: What the default timeout when new Socket()? 
Date: Mon, 20 Dec 2004 01:12:54 +0800
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 60.176.206.161
Message-ID: <41c5b550$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103476048 60.176.206.161 (19 Dec 2004 09:07:28 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail