Jump to content
  • Advertisement
Sign in to follow this  
ZippoLag

is multithreaded the only way?

This topic is 4408 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

howdy, I'm sorry if I lack of saying something, but hopefully you'll understand me (I'm in kind of a rush right now)... ghak, I spent too much time on that.. anyway! what I meant to say is that I'm on the making of my engine, and I needed it to be doing something (specifically checking for arrived net data and showing that it arrived) while I'm actively doing something else (let's say inputting text).. so... it seems that the onñy way to do this is by adding a thread that magenes network operations, but I didn't want to dive into that just yet.. so.. is there another way? PS: I've always like to work with console apps, so it's all text on the screen and secuential programming up to this point..

Share this post


Link to post
Share on other sites
Advertisement
There are many ways to handle non-blocking networking, but I do like threads the most.

Share this post


Link to post
Share on other sites
I suspect you neglected to do any research before posting. Had you, you would have found many words such as 'asynchronous' and 'non-blocking' and 'select' that would have helped you a great deal.

Share this post


Link to post
Share on other sites
ghak, yes.. I'm sorry..
also..
after putting some thought on it I realized that I should use some sort of GUI, because it will get seriously tricky to do what I want with just plain old console text functions..
thanks anyway, and sorry for bothering..

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!