fuzzylr
August 15th, 2008, 02:52 PM
I'm interested in learning socketing for both windows and Linux. I know I can use the built in api's of both systems to do this. I want to learn more about the client server models and learning more about the fuctions to call to. I've looked at a lot of books but date back pretty far and each book does things differently. So what my question is there a study group or site or book (that I haven't found) for making client server models for gaming that I could look at? or maybe some folks who want to group up and studdy this stuff or point me in the right direction.
Sean
MikeAThon
August 15th, 2008, 05:18 PM
As a beginner, start with purely console-style applications. That way, you will not be distracted by user-interface issues:
"Beej's Guide to Network Programming" from Beej at http://beej.us/guide/bgnet/ . This is a good guide for beginners. Beej's guide is written primarily for Linux/Unix, but it's easily adaptable to Winsock/other OSs, since it uses basic ideas from the original BSD socket implementation.
FAQ: "Where can I find examples of socket programs?" at http://www.codeguru.com/forum/showthread.php?t=326666 . Remember to confine yourself to the select-based console-style samples
"Winsock Programmer's FAQ", under Section 6.1 "Basic Example Programs": http://tangentsoft.net/wskfaq/examples/basics/
If gaming is your ultimate goal, then also:
"Multiplayer and Networking Tutorials" at http://www.gamedev.net/reference/list.asp?categoryid=30 . Some of these are better than others, so be choosy
Mike
fuzzylr
August 16th, 2008, 04:04 PM
Good stuff..Ty