Article View: borland.public.jbuilder.java.language
Article #14707question on socket timeout
From: Thibaut Daurat
Date: Mon, 16 Aug 1999 00:00
Date: Mon, 16 Aug 1999 00:00
12 lines
890 bytes
890 bytes
Is it possible to fixe the timeout before connecting a Socket? Indeed, you connect the socket when creating the Socket instance, before that you can't call setSoTimeout method. I'd like to have a longer timeout before connection fails if the host responds slowly. How could I do that? -- Thibaut Daurat Microline - France http://www.microline.fr mailto : tdaurat<!-nospam-->@microline.fr (remove nospam comment to reply)
Technical Details
Message-ID:
<7p948f$p413@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,f203e438bf57c0c3,start X-Google-Attributes: gidf74b3,public From: "Thibaut Daurat" <tdaurat@microline.fr> Subject: question on socket timeout Date: 1999/08/16 Message-ID: <7p948f$p413@forums.borland.com> X-Deja-AN: 513373724 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.language