Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

win32mfc

WinSock Programming Book

This topic is 6539 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

Hi All, I have done a lot of windows socket programming both for work and for fun. I have written quite a few applications, including both SOCK_DGRAM and SOCK_STREAM type sockets. It seems to me that there aren''t any really good programming books out there that cover all the basics + Win32-related usage + lots of good examples. I have been seriously thinking about writing a book on the subject; with a descriptive title like "Visual C++ Internet Programming, Protocols, & Projects". It would both teach the reader how to use, effectively, Windows Sockets in different environments (console apps, MFC apps, Win32 apps). Also, many full-fledged (and _working_) applications that I have already written. Programs like an FTP client, FTP server, news client, ping & tracert utilities, datagram message passing examples, an HTTP server, an IRC client, a mail client & utilities, a TELNET client, and custom (home-grown) type servers and clients. Do you think this kind of book would (A) be helpful [I would assume so], and (B) worth writing. It''s really the kind of book I wish I could have gotten when I first started out. I think this book would save a lot of time for people by showing how to connect, accept, and work with different server types; along with doing it in different ''settings'' (ie, straight WinSock, or MFC''s CSocket/CAsyncSocket) and how to correctly do things like accept a connection with a new thread (so each client on a server is running in its own seperate thread.) Thanks for reading this I look forward to any feedback. // CHRIS

Share this post


Link to post
Share on other sites
Advertisement
I''d buy it!

There are some fairly well-done tutorials out there, but I''d love a complete, modern reference (especially with some info devoted to game networking). Personally I''m more interested in the client/server architecture (say for an online RPG, my favorite online genre , and any info on how to do that most efficiently (UDP vs TCP/IP, effectively encrypting and compressing data, etc) would be cool.

But as long as it went into detail on how to setup reliable UDP and TCP/IP connections, and maybe covered the WSA* version of the socket calls, I''d buy it.

Anthracks

Share this post


Link to post
Share on other sites
I would consider getting it (financial problems, you see). I''ve had problems in the past finding information of such a topic and I would find that a book like that would be very helpful.

-Doddler

Share this post


Link to post
Share on other sites
I''d buy it! I even have a publisher that would be interested in hearing your idea.

Check out Gearhead Press. This is right up their ally and the type of books they''re looking to publish.

Their website is www.gearheadgroup.com

// Matt

Share this post


Link to post
Share on other sites
Thanks- I''ll check out www.gearheadgroup.com. My original idea was to try and go through SAMS or WROX; though WROX hasn''t ever replied to any of my e-mails and trying to get someone on the phone has proved just as bad. I still think it''s a good book to write. One of the applications would be a MUD-type game. At least it would be a starting point for your own games. Basic functions would be built in already, like logging in (authentication), chat, a ''WHO'' command to see who else is online. That way you could concentrate on the game logic right away and have the server foundation already done.

Thanks again,
// CHRIS


Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Shoot... I just bought a winsuck book today, as a matter of fact. ("Windows Sockets Network Programming" by Bob Quinn/Dave Shute. It''s pretty dated and the examples aren''t that great. I haven''t found anything to quite fit what I need to do.

I''d buy your book if you wrote it!

Jason

Share this post


Link to post
Share on other sites
Yes, definitely.

I have been browsing the internet over the last few weeks (has it been that long?) looking for different tutorials on how to start with WinSock programming. I eventually want to work my way up to a full-fledged online RPG, and I am looking into different methods of implementing a Quake III-style "initialization console" server application, with few results. More nosing around for me.

But yes, definitely, this would be the sort of thing I would imagine that budding developers would be interested in. If I could recommend, look into those issues that aren''t directly covered by many current popular (and up-to-date!) tutorials, so that you aren''t covering old ground (you know, kind of the way many DirectX books spend chapters and chapters on how to set up DirectDraw?).

Good luck, and keep posting on your progress! I look forward to ordering my copy from Amazon.com.


MatrixCubed

Share this post


Link to post
Share on other sites

  • 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!