On Fri, 20 Dec 2019 15:23:41 -0800 Germain Le Chapelain <[email protected]> wrote:
> On Sun, 22 Sep 2019 11:50:57 +0100 > Sad Clouds <[email protected]> wrote: > > > I have a small client/server network application. Client opens a TCP > > connection to a server and starts writing data, at the same time > > client > ... > > Any ideas or comments? > > Yes: > > Why don't you just do that ? > Read and write on TCP > > I have a feeling you are handling it from the "wrong end" by checking > yourself with poll(). > > > Germain What do you mean? I have no idea what you are suggesting here, i.e. there is nothing wrong with poll(), that is how many TCP applications are written. Can you please tell me how it is handled "from the wrong end" and what would be the correct way of handling it? Thanks.
