🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #680

Closing Sockets

#680
From: lans
Date: Fri, 18 Feb 2005 19:56
12 lines
1121 bytes
What problems wouold arise if you close a socket in the following manner

socket.close()

as appose to 

out.close()
in.close()
socket.close()

I'm just wondering if not closing the in and out streams would cause a problem if we try to reconnect to a server.
Technical Details
Message-ID: <4216486c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,6bffc2bbc580287c,start
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "lans" <sirlanslot@aol.com>
Sender: "lans" <sirlanslot@aol.com>
Reply-To: "lans" <sirlanslot@aol.com>
Subject: Closing Sockets
Newsgroups: borland.public.jbuilder.java.language
X-User-Info: 64.214.127.50     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4216486c$1@newsgroups.borland.com>
Date: 18 Feb 2005 11:56:28 -0800
X-Trace: newsgroups.borland.com 1108756588 207.105.83.66 (18 Feb 2005 11:56:28 -0800)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail