Article View: borland.public.jbuilder.java.language
Article #7855Re: DataInputStream.readLine() returns null
From: ArShAm
Date: Fri, 18 May 2001 20:23
Date: Fri, 18 May 2001 20:23
27 lines
1965 bytes
1965 bytes
Thanks
And in this new one(BufferedInputStream) when I get null? and when
Exceptions?
the root problem of mine was when I saw the IRC system , doesn't close the
connection when I got dc from my ISP , it sends a PING message to see if the
PONG not reply , then the other side is dead , anyway......
How the socket doesn't close when I disconnect?
Thanks
ArShAm
"Nabin Thomas" <viewmycard@foremail.nospamplease> wrote in message
news:3B0415CD.4A0A7E07@foremail.nospamplease...
> This methid is now deprecated due to some prolems.
> Use BufferedInputStream or BufferedReader to use the same method
>
> ArShAm wrote:
>
> > Hi there
> >
> > When DataInputStream.readLine() return null?
> > If we assigned it to an input stream of a socket?
> >
> > Thanks
> > ArShAm
>
Technical Details
Message-ID:
<3b0588f9$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!e420r-sjo4.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!newshub2.home.com!news.home.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3afd22f8_1@dnews> <3B0415CD.4A0A7E07@foremail.nospamplease>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,9d74702ea18ab9c4 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-05-18 14:10:47 PST Reply-To: "ArShAm" <ArShAm@abshar.net> From: "ArShAm" <ArShAm@abshar.net> Newsgroups: borland.public.jbuilder.java.language References: <3afd22f8_1@dnews> <3B0415CD.4A0A7E07@foremail.nospamplease> Subject: Re: DataInputStream.readLine() returns null Date: Sat, 19 May 2001 00:53:11 +0430 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 61.11.252.154 Message-ID: <3b0588f9$1_2@dnews> X-Trace: dnews 990218489 61.11.252.154 (18 May 2001 13:41:29 -0700) Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!e420r-sjo4.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!newshub2.home.com!news.home.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews