HI all,
Im currently developing a client-server project using TCP.
But I am facing certain problems.
My Client has 10 Functions each of function send large chunks of data and must able to be sent asyc.
So heres the problem.
While I use Function 1 only to the server is ok and able to process the data. But when I send Function 2 and 1 at the same time heres the problem Data will be mixed and when received my server unable to process.
I did use like start token and end token for each function to differentiate the functions but sometimes it will come in mixed between.
S= Start Token
E= End Token
Client Sent--------------------------------------> Server
----------->
Something like this, how would one use TCP socket to send multiple data only using 1 socket available to send data asyc.
Thanks