🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Cancel when instance a client socket

#20
From: Chris Wahl
Date: Sat, 18 Dec 2004 14:13
10 lines
1146 bytes
Howdy,

When we connect to a server using 
a wrong IP like the following,  it will take several seconds.
Can we cancel this connection during this period?

mySocket = new Socket("127.0.0.999", 9999);

Best Regards
TIA
Technical Details
Message-ID: <41c439c0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,df7dcc4d2a03ba16,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: Cancel  when instance a client socket
Date: Sat, 18 Dec 2004 22:13:19 +0800
Lines: 11
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.203.125
Message-ID: <41c439c0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103378880 60.176.203.125 (18 Dec 2004 06:08:00 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail