Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2355

Re: How to do perfect socket reconnection

Newsgroups comp.lang.java.help
Date 2012-12-09 13:02 -0800
References <b8d8763f-b003-4d95-b5d1-26c2aaf2184c@googlegroups.com>
Message-ID <f607f76a-609b-4bc5-bc62-1ba85c6f0c2d@googlegroups.com> (permalink)
Subject Re: How to do perfect socket reconnection
From Lew <lewbloch@gmail.com>

Show all headers | View raw


On Sunday, December 9, 2012 7:11:20 AM UTC-8, Artik wrote:
> Hi,
> 
> I appologize - I asked about my problem in other group too but unfortunately I haven't got answer for my question:
> 
> "How to correctly support reconnecting client sockets?"
> 

You posted on clj.programmer at 15:06Z, then here at 15:11 complaining you haven't yet seen an answer?

What you did is post the same question independently on multiple newsgroups, a practice known as
multi-posting and a violation of newsgroup etiquette.

Also, do not expect answers within five minutes, as a rule, or ever, on occasion. Learn to wait.

Plus, also, in addition, you got lots of answers on clj.programmer.

To which I'll add - don't use '(!Thread.interrupted())' to control a loop, and do study the 
Java tutorials and other material on multi-threaded programming.

--
Lew

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to do perfect socket reconnection Artik <olsztyn.arti@gmail.com> - 2012-12-09 07:11 -0800
  Re: How to do perfect socket reconnection Lew <lewbloch@gmail.com> - 2012-12-09 13:02 -0800
    Re: How to do perfect socket reconnection Artik <olsztyn.arti@gmail.com> - 2012-12-09 14:58 -0800

csiph-web