🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SocketException

#729
From: elrond_III
Date: Fri, 10 Dec 2004 20:31
42 lines
3145 bytes
forgot to add:

> ----------                 -------------  listening on
> |        | connects:5000   |           |  port 5000 for new connections
> | client | ------------->  |  server   |
> |        |                 |           |
> ----------                 -------------
> 
> ----------                 -------------  answers with
> |        |    accept:XXX   |           |  port XXX for communication
> | client | <-------------  |  server   |  with new client
> |        |                 |           |  the communication now works
> ----------                 -------------  with the new port
> 
> ----------                     -------------  still listening on
> |        | communication:XXX   |           |  port 5000 for new
> | client | <---------------->  |  server   |  connections
> |        |                     |           |
> ----------                     -------------  communicate with client on

if the communication now brakes because the server restarts, you, at 
least for a certain time, still are connected to a port on the remote 
mashine, however the server (by means of the software) don't listen 
anymore to the port. So if you sent data, they go into nowhere...

  ----------                 -------------  listening on
  |        | connected:XXX   |           |  port 5000 for new connections
  | client | ------------->  |  server   |
  |        |                 |           |  not listening on XXX, he
  ----------                 -------------  doesn't know anymore that
                                            there was a communication

so, hope this could help
cu
   Joerg Simon
-- 
--------------------------------------------------------------
Elrond_III      -==: Hack the World :==-
g:R->R; [a,b] in D(g) and g[a,b] in [a,b] and for all x1,x2 in [a,b]
|g(x1)-g(x2)|<=L*|x1-x2| with L <= 1 then one s in [a,b] exist with
s=g(s)
                                   -"Banachscher Fixpunktsatz"
Technical Details
Message-ID: <41ba0815$0$11868$3b214f66@aconews.univie.ac.at>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news2.euro.net!newsfeed.freenet.de!news-lei1.dfn.de!news-fra1.dfn.de!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail
References: <41b8fa86$1@newsgroups.borland.com> <41ba0633$0$10578$3b214f66@aconews.univie.ac.at>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,f3a9b798501ee744
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news2.euro.net!newsfeed.freenet.de!news-lei1.dfn.de!news-fra1.dfn.de!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail
Date: Fri, 10 Dec 2004 21:31:51 +0100
From: elrond_III <elrond_III@gmx.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040608
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: SocketException
References: <41b8fa86$1@newsgroups.borland.com> <41ba0633$0$10578$3b214f66@aconews.univie.ac.at>
In-Reply-To: <41ba0633$0$10578$3b214f66@aconews.univie.ac.at>
X-Enigmail-Version: 0.84.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 42
Message-ID: <41ba0815$0$11868$3b214f66@aconews.univie.ac.at>
NNTP-Posting-Host: a-161.dsl.tu-graz.ac.at
X-Trace: 1102710805 aconews.univie.ac.at 11868 129.27.232.161
X-Complaints-To: abuse@univie.ac.at