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


Groups > comp.lang.python > #57585

Re: How to design:Use One TCPIP Client connection to Server and work concurrently

Newsgroups comp.lang.python
Date 2013-10-25 17:48 -0700
References <0626cc7c-d4fd-4d6e-ac3d-9a85a725b5fb@googlegroups.com>
Message-ID <3ba1ddfc-3a7a-4644-bf64-004382242627@googlegroups.com> (permalink)
Subject Re: How to design:Use One TCPIP Client connection to Server and work concurrently
From ray <yehrayyeh@gmail.com>

Show all headers | View raw


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.
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?

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


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