Beyond MFC, COM | | Networks [richand] [specific tools]
Q: Hi.
I started learning MFC and practice three months ago. The first month was the hardest because I was down right lost after reading the first nine chapters of the books Prosise. However, everything changed after I first studied from introducing Richand Jones MFC. Prosise discusses everything became clear and only now I begin to appreciate the information Prosise offers are book.
Next, I proceed to the more specific tools such as networks, or COM. I have no experience with COM and network programming with C + +. My ultimate goal, however, is designing and implementing programs such as an FTP server (my dream) 0.
Whats after the MFC? Im an MFC beginner, but I am confident that I can work with the tools MFC offers relatively good.
I am very interested in network programming, but COM is something that is very popular. I saw good review in C + + Programming Networks Volumn 1 by Douglas C. Schmidt, Stephen D. Huston. What do you recommend? As with COM, Im not sure where to start. Nevertheless, COM is something I want to consider, if not now, then after networking.
Thanks,
Kuphryn
Re:Okay. Thanks.
Kuphryn
Re:If you end up needing a winsock-specific book one good one is Dogulas E. Comer & David L. Stevens "TCP/IP volume III – windows sockets version." It was helpful when I was writing some net code for SMTP outgoing mail and HTTP post/get. It includes UDP too if you ever want to do something like streaming audio/video or a multiplayer game.
Re:Okay.
I decided on a network programming book.
I placed on order for this:
Network Programming for Microsoft Windows, Second Edition
by Anthony Jones.
I have considered C++ Network Programming Volume 1 by Douglas C. Schmidt and Stephen D. Huston. However, in the end I decided to go with Networking Programming for Microsoft Windows, Second Edition because my primary objective is to design and implement Windows programming using C++. I believe Jones' book will become invaluable for Windows applications.
Kuphryn
Re:Okay.
I am considering C++ Networking Programming Volumn 1 by Douglas C. Schmidt, Stephen D. Huston, which goes over networking programming using ACE library. I am not familiar of ACE library and how it relates to MFC.
Kuphryn
Re:The first thing I learned after MFC was Winsock programming, including MFC's CSocket wrapper. After that, I read a book titled "Advanced Windows Programming", which goes over advanced stuff like multithreading, thread syncronization and a lot of other useful stuff. Then I learned everything there was about writing OCX controls (no book, just practice). After that I learned COM, and while I can't call myself a COM guru (very few people can) i know enough about it to understand how it works.
Re:Thanks. I am more interested in networking programming (C++ programming).
Kuphryn
Re:For internet programming like FTP, e-mail (SMTP & POP3), and HTTP using TCP/IP, you have 2 choices on Windows PCs: winsock and MS' wininet layer on top of it. (choice #3 is a library from Dart, IP*Works, etc. starting at around $200)
Winsock is good (and fun) because it's just for making connections and transferring data, and you learn / write the different protocols yourself by reading books, articles, and the W3C "RFC" documents. Go to amazon and search "winsock" for books. Basic HTTP is dead simple to write and there have been articles in MSDN and (I think) WDJ showing how to make a limited web server in just a few pages of code.
Wininet is an MS layer that handles some of the details for you, but also hides things and doesn't let you see the raw data transfers. It lets you read from an existing FTP server in a few lines of code but I don't think you'd be able to write your own server with it. It can also be very useful in dealing with existing HTTPS secure servers because it uses the Internet Explorer libraries for encryption.
COM / DCOM is mainly for single-machine inter-process and LAN communication, for internet apps the world seems to be heading to SOAP.
Related posts
Tags: richand, specific tools