Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64015
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <wrw@mac.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | UNSURE 0.395 |
| X-Spam-Level | *** |
| X-Spam-Evidence | '*H*': 0.24; '*S*': 0.03; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'disconnect': 0.16; 'half.': 0.16; 'received:mac.com': 0.16; 'tcp': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; '(not': 0.18; 'received:10.0.1': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; '15,': 0.26; 'chris': 0.29; 'am,': 0.29; 'that.': 0.31; 'open': 0.33; 'could': 0.34; 'connection': 0.35; 'but': 0.35; 'done': 0.36; 'charset:us-ascii': 0.36; 'received:10.0': 0.36; 'half': 0.37; 'received:10': 0.37; 'server': 0.38; 'connections': 0.38; 'mine': 0.38; 'received:17': 0.38; 'handle': 0.38; 'issue': 0.38; 'bad': 0.39; "couldn't": 0.39; 'extremely': 0.39; 'users': 0.40; 'even': 0.60; 'solve': 0.60; 'helps': 0.61; 'introduced': 0.61; "you're": 0.61; 'times': 0.62; 'such': 0.63; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'gathering': 0.68; 'internet': 0.71; 'friendly': 0.72; 'carefully': 0.74; 'yourself': 0.78; 'invitation': 0.79; 'protect': 0.79; 'friend': 0.79; '2014,': 0.84; 'break.': 0.84; 'closes': 0.84; 'frustrating': 0.84; 'header:In-reply-to:1': 0.84; 'holes': 0.84; 'off,': 0.84 |
| X-Proofpoint-Virus-Version | vendor=fsecure engine=2.50.10432:5.11.87,1.0.14,0.0.0000 definitions=2014-01-15_05:2014-01-15,2014-01-15,1970-01-01 signatures=0 |
| X-Proofpoint-Spam-Details | rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1401150096 |
| Content-type | text/plain; charset=us-ascii |
| MIME-version | 1.0 (Mac OS X Mail 6.6 \(1510\)) |
| Subject | Re: Learning python networking |
| From | William Ray Wing <wrw@mac.com> |
| In-reply-to | <CAPTjJmpb6yr-VpWypbJQn0a=pNjvNV2CchVBZaK+v_5JoSQOBg@mail.gmail.com> |
| Date | Wed, 15 Jan 2014 11:25:24 -0500 |
| Content-transfer-encoding | quoted-printable |
| References | <22d58d76-f2c2-4a1d-8049-3409ac4665d3@googlegroups.com> <mailman.5207.1389223748.18130.python-list@python.org> <9202d352-e065-4f2b-a9e0-e29ce5c68df6@googlegroups.com> <CAPTjJmpb6yr-VpWypbJQn0a=pNjvNV2CchVBZaK+v_5JoSQOBg@mail.gmail.com> |
| To | Chris Angelico <rosuav@gmail.com> |
| X-Mailer | Apple Mail (2.1510) |
| X-Mailman-Approved-At | Wed, 15 Jan 2014 21:57:01 +0100 |
| Cc | "python-list@python.org" <python-list@python.org>, William Ray Wing <wrw@mac.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5542.1389819423.18130.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1389819423 news.xs4all.nl 2838 [2001:888:2000:d::a6]:53866 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:64015 |
Show key headers only | View raw
On Jan 15, 2014, at 7:52 AM, Chris Angelico <rosuav@gmail.com> wrote: [megabyte] > One of the fundamentals of the internet is that connections *will* > break. A friend of mine introduced me to Magic: The Gathering via a > program that couldn't handle drop-outs, and it got extremely > frustrating - we couldn't get a game going. Build your server such > that your clients can disconnect and reconnect, and you protect > yourself against half the problem; allow them to connect and kick the > other connection off, and you solve the other half. (Sometimes, the > server won't know that the client has gone, so it helps to be able to > kick like that.) It might not be an issue when you're playing around > with localhost, and you could even get away with it on a LAN, but on > the internet, it's so much more friendly to your users to let them > connect multiple times like that. But note VERY carefully that this can open HUGE security holes if not done with extreme care. Leaving a dangling connection (not session, TCP closes sessions) open is an invitation so bad things happening. -Bill
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Learning python networking Paul Pittlerson <menkomigen6@gmail.com> - 2014-01-08 14:27 -0800
Re: Learning python networking Chris Angelico <rosuav@gmail.com> - 2014-01-09 10:29 +1100
Re: Learning python networking Paul Pittlerson <menkomigen6@gmail.com> - 2014-01-15 02:37 -0800
Re: Learning python networking Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-15 11:11 +0000
Re: Learning python networking Chris Angelico <rosuav@gmail.com> - 2014-01-15 23:52 +1100
Re: Learning python networking "Frank Millman" <frank@chagford.com> - 2014-01-15 15:31 +0200
Re: Learning python networking Chris Angelico <rosuav@gmail.com> - 2014-01-16 01:07 +1100
Re: Learning python networking Chris Angelico <rosuav@gmail.com> - 2014-01-16 02:36 +1100
Re: Learning python networking Chris Angelico <rosuav@gmail.com> - 2014-01-16 03:31 +1100
Re: Learning python networking Chris Angelico <rosuav@gmail.com> - 2014-01-16 03:32 +1100
Re: Learning python networking William Ray Wing <wrw@mac.com> - 2014-01-15 11:43 -0500
Re: Learning python networking Chris Angelico <rosuav@gmail.com> - 2014-01-16 04:07 +1100
Re: Learning python networking William Ray Wing <wrw@mac.com> - 2014-01-15 11:25 -0500
Re: Learning python networking Dan Stromberg <drsalists@gmail.com> - 2014-01-08 15:53 -0800
Re: Learning python networking Chris Angelico <rosuav@gmail.com> - 2014-01-09 11:07 +1100
Re: Learning python networking Dan Stromberg <drsalists@gmail.com> - 2014-01-08 19:49 -0800
Re: Learning python networking Alister <alister.ware@ntlworld.com> - 2014-01-09 11:32 +0000
Re: Learning python networking Chris Angelico <rosuav@gmail.com> - 2014-01-09 15:20 +1100
csiph-web