Good afternoon to everyone,
I read that async stream is asynchronous. Let's say I implement in a class something similar to what is written in @Erel's tutorial here. Afterwards I create an array (with length N) of these classes (with everyone of them listening in a different port). If I have n<N computers that connect to them and try to send data with InitializePrefix (simultaneously from the n computers to the host with array) what will happen? Receive a chunk and then leave the thread open with a kind of (wait for) for the next allowing also the other n-1 to receive data or something else? I am asking this to save me time from experimenting.
Thanks in advance
I read that async stream is asynchronous. Let's say I implement in a class something similar to what is written in @Erel's tutorial here. Afterwards I create an array (with length N) of these classes (with everyone of them listening in a different port). If I have n<N computers that connect to them and try to send data with InitializePrefix (simultaneously from the n computers to the host with array) what will happen? Receive a chunk and then leave the thread open with a kind of (wait for) for the next allowing also the other n-1 to receive data or something else? I am asking this to save me time from experimenting.
Thanks in advance