JoeJ said:
I'm guess it is as simple as you thought, but first you need to figure out how to tell the computer to do what you want.
Yeah there are a few things annoying. You can't use a thread like an object you can't use in a switch statement you have to put it into a function first. etc.
taby said:
If you’re looking for an example code, please check out
https://github.com/sjhalayka/tcpspeed3_multithreaded_listener
taby I had a look once again at the code that you posted at the beginning of the discussion. I'm not familiar with passing arguments to a function like that, but that's probably just passing arguments by reference. I understand the example now more or less, I think I found my thread ended flag )