non-blocking, sample

Started by
2 comments, last by Sneftel 15 years, 3 months ago
Hello there :) I'm having lots of trouble making a non-blocking winsock program(win32 console application.) I have a little project that is working(blocking mode.) I would be glad if you could have a look and see if you can give me a hint, tips och anything to point me in the right direction. Project download link: http://thuski.se/ixuz/projekt/winsock.rar My goal is to make a fun multiplayer iceclimbers game before 11-03-2009 for a lan event. Feel free to check out the website too http://www.ntilan.se/ Thanks! // ixuz
Advertisement
Hi there i am not much of one for Win Sock programing but i can recommend that you use a lib like Zoid works great. There is an article on game dev here if you look it up under the networking article's that should point you in the right direction and then some. Most people say you can't do none blocking sockets in anything else but a win32 window i find that is a farce and miss information it is true that the Message que system works nicely but there are other ways you can even do it in a console i did it once back in the day.

Anyways Zoid is a lib that's rather easy to use.

Regards Jouei.
I am in the process of creating a Winsock tutorial site.

I have actually covered a tutorial non-blocking sockets on my programming site (both client and server). You are welcome to take a look. Feel free to comment and critique. :)

www.win32developer.com
Please don't crosspost on these forums.

This topic is closed to new replies.

Advertisement