Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57587
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!ecngs!feeder2.ecngs.de!newsfeeder.ewetel.de!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.116 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.78; '*S*': 0.01; 'subject:design': 0.09; 'subject:How': 0.10; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'once.': 0.16; 'files.': 0.16; 'sat,': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'all,': 0.19; 'user.': 0.19; 'server.': 0.24; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'ray': 0.31; 'file': 0.32; "can't": 0.35; 'connection': 0.35; 'transaction': 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'server': 0.38; 'connections': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'seat': 0.60; 'establish': 0.61; "you're": 0.61; "you'll": 0.62; '26,': 0.68; 'subject:One': 0.74; 'divide': 0.84; 'subject:Client': 0.84; 'subject::': 0.85; 'subject:Server': 0.91; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=wCcltJPFHobYLW9KeMih0gKxw5Na5Rtt1YNDkI7w0WM=; b=eMsAIhUWEI77oaxbb8D6tu85ZPgP6IyTOhNHYV0+W19HS4xz4KhsmltnK22pUuOi0q cSNeumxwBJgjGZ8XaN+ylA2V2K5KwRSqkP6txZBNiEGAqTEDjSUHn31dCUq8iba1SlZf cbJYWunpwaBMW0wnm5z+COA4gfVkxcnzC4NUykHtcNXZRaPjiu7K1hCNSvdfeJMW0axu L8E9c3yTl9qLBVqo4gSRu23TsxH0km33pIvaoK0xnUTah37lMOPwGmLBZB9TAUr0jLVY Oy+4eR0Cx8rIyudf6Ex9U/NliUpi0ik6/QYlXmCtjXkCilvSDlGrf9HCTBXx/YHOc5bF zkUw== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.179.98 with SMTP id df2mr9620514pbc.38.1382749751060; Fri, 25 Oct 2013 18:09:11 -0700 (PDT) |
| In-Reply-To | <3ba1ddfc-3a7a-4644-bf64-004382242627@googlegroups.com> |
| References | <0626cc7c-d4fd-4d6e-ac3d-9a85a725b5fb@googlegroups.com> <3ba1ddfc-3a7a-4644-bf64-004382242627@googlegroups.com> |
| Date | Sat, 26 Oct 2013 12:09:10 +1100 |
| Subject | Re: How to design:Use One TCPIP Client connection to Server and work concurrently |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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.1568.1382749754.18130.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1382749754 news.xs4all.nl 15882 [2001:888:2000:d::a6]:55849 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:57587 |
Show key headers only | View raw
On Sat, Oct 26, 2013 at 11:48 AM, ray <yehrayyeh@gmail.com> wrote: > Hi all, > Because the server only can accept ONE connect from client. > If the client establish connection with the server,the server can not accept other client. Are you sure? If that's the case, you're stuck - you can't parallelize at all. > One large batch transaction file come from user. > client divide the large file to several smaller files. > In my thinking: > client have many seats.Each smaller files is thread. > client manage which seat was avaiable,handle send to/recv from server. > Any idea or suggestion? A normal server setup would accept multiple connections at once. But you'll need to look into what the server can actually do. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to design:Use One TCPIP Client connection to Server and work concurrently ray <yehrayyeh@gmail.com> - 2013-10-25 03:06 -0700
Re: How to design:Use One TCPIP Client connection to Server and work concurrently Chris Angelico <rosuav@gmail.com> - 2013-10-25 21:25 +1100
Re: How to design:Use One TCPIP Client connection to Server and work concurrently ray <yehrayyeh@gmail.com> - 2013-10-25 17:48 -0700
Re: How to design:Use One TCPIP Client connection to Server and work concurrently Chris Angelico <rosuav@gmail.com> - 2013-10-26 12:09 +1100
Re: How to design:Use One TCPIP Client connection to Server and work concurrently ray <yehrayyeh@gmail.com> - 2013-10-25 20:22 -0700
csiph-web