Multithread listen in server #46
-
|
I want to create a while loop in async method for every client. But i see this lib only for single while loop to listen of all client request. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
Multithreading? Netly is multithreading... that is, each client runs in "parallel"
Netly 4:
Hi, feel free to interact here, hope to solve your problem... but I'm confused, I can't understand what you mean!
Write what is the Netly behavior you wish to achieve (even if it is not supported)? while (...?)
{
...?
}
...? |
Beta Was this translation helpful? Give feedback.
-
|
Like this. Just a example. I dont want client wait other's client task on server thanks u. I wrote for mmorpg, if u have anyway to handle pls help me, thanks u. This lib so amazing |
Beta Was this translation helpful? Give feedback.
-
Example Code
or
Example Code
Apologies for the delay! 😄 (Maybe it's a bit complex, I would make more effective examples for your specific use case, but i don't know your scope, that's why i did a generic example, feel free to refine it to your use case). 👩💻 |
Beta Was this translation helpful? Give feedback.
Example Code