• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

VB Socket Programming...

Paunchy

Member
Hey all,

Wondering if anyone can point me in the right direction to find some resources for socket programming using C++ or Visual Basic. I have a class coming up that's going to require some sort of program to be written that will include both a client and a server, and network programming is unfamiliar territory. Thanks in advance.

--Paunchy
 
If you don't need the "raw" socket level, MSDN should have some example code for using wininet in C++ and the internet transfer control in VB.

For "real" sockets I found the bookTCP/IP Volume 3 (Windows sockets version) by Douglas Comer and David L. Stevens to be very helpful. It covers synch and asynch programming, TCP vs UDP sockets, etc. etc. The code is C++ but the book is about pseudocode and teaching concepts istead of being a Wrox-style pile o' code.

For specific protocols like HTTP, SMTP, POP, etc. the "RFC" documents from the W3C define what's supposted to happen and you should be able to find some source code by googling.
 
Back
Top