Skip to main content
gamedev.net
🔒 Locked

Winsock2 tutorials

Started by CTEagle Oct 4, 2006 at 12:50 PM 1 replies 1.7k views
Original Post
CTEagle
CTEagle
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.
kuphryn
kuphryn
i highly recommend Network Programming for Microsoft Windows Second Edition by Anthony Jones and Jim Ohlund.

Kuphryn
PRASSHHANT
PRASSHHANT
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⟨=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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.