Sign in to follow this  
CTEagle

Winsock2 tutorials

Recommended Posts

I have spent the better part of 2 days trying to find a simple tutorial on using WinSock2. I have several tutorial but none of them cover what I really want to learn. I would like to basically make a Chat application that I can include in networked games. I don't want to use MFC or any wrappers. I want to write this app using C++ Any links to tutorials or any helpful suggestions would be greatly appreciated. Thank you.

Share this post


Link to post
Share on other sites
i highly recommend Network Programming for Microsoft Windows Second Edition by Anthony Jones and Jim Ohlund.

Kuphryn

Share this post


Link to post
Share on other sites
These links helped me a lot.
Might help you as well

http://www.gamedev.net/reference/list.asp?categoryid=298
http://www.madwizard.org/view.php?page=tutorials.networking.contents&lang=cpp
http://johnnie.jerrata.com/winsocktutorial/
http://www.sockets.com/
http://www.sockaddr.com/
http://www.vijaymukhi.com/vmis/wsock.htm
http://www.snible.org/winsock/
http://tangentsoft.net/wskfaq/
http://www.cacs.louisiana.edu/~mgr/404/burks/pcinfo/progdocs/wsocktut/winsock.htm
http://www.winsock2online.org/
http://www.geocities.com/siliconvalley/2072/sockprog.htm
http://www.daniweb.com/tutorials/tutorial6811.html
http://tenouk.com/Winsock/Winsock2story.html
http://www.vijaymukhi.com/vmis/vmchap4.htm
http://www.cacs.louisiana.edu/~mgr/404/burks/pcinfo/progdocs/winsock/winsock.htm

all of the above teach you winsock in simple c++ only.
making a simple chat application isnt much difficult.two apps ; one a server and another a client will accomplish the task.
integrating it with your game is just as easy using CreateThread() function (vc++) to make a parallel thread to handle the chat module.

hope that helps
regards
prasshhant

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this