Visual Studio unmanaged C++ TCP/IP client-server examples
-
Hi Guys, I'm building a simple TCP/IP client/server application and can't find any examples that I could run in Visual Studio IDE. Everything seems to be MFC and it's not compiling under Visual Studio 2010 Express C++ for some reason. I'm not very skilled in the C++ area so please be patient with me. Something that compiles and runs out of the box please. Regards, Stevo
zilo
-
Hi Guys, I'm building a simple TCP/IP client/server application and can't find any examples that I could run in Visual Studio IDE. Everything seems to be MFC and it's not compiling under Visual Studio 2010 Express C++ for some reason. I'm not very skilled in the C++ area so please be patient with me. Something that compiles and runs out of the box please. Regards, Stevo
zilo
-
Try a Google search for "socket samples", and you should find something that works. Also you cannot compile MFC applications with Express Edition as it does not contain the MFC libraries; you have to pay for them.
It's time for a new signature.
-
Hi Guys, I'm building a simple TCP/IP client/server application and can't find any examples that I could run in Visual Studio IDE. Everything seems to be MFC and it's not compiling under Visual Studio 2010 Express C++ for some reason. I'm not very skilled in the C++ area so please be patient with me. Something that compiles and runs out of the box please. Regards, Stevo
zilo
-
Richard MacCutchan wrote:
Also you cannot compile MFC applications with Express Edition
Strange, google says exactly the opposite. :(
Life is a stage and we are all actors!
-
Hi Guys, I'm building a simple TCP/IP client/server application and can't find any examples that I could run in Visual Studio IDE. Everything seems to be MFC and it's not compiling under Visual Studio 2010 Express C++ for some reason. I'm not very skilled in the C++ area so please be patient with me. Something that compiles and runs out of the box please. Regards, Stevo
zilo
Have a look at Beej's guide to networking programming[^], there are client/server examples in chapter 6. Another starting point is the Winsock Programmer's FAQ[^], it has examples in section 6 (with or without MFC). Alternatively use a socket class such as Alhem, Boost, SharkEngine, QT, and many others... You need to decide if you go the low-level route or take an existing socket class. First teaches you the networking basics, later makes you productive right away. Hope this helps, happy coding! :) /M
Chat in Europe :java: Now with 24% more Twitter
-
see http://msdn.microsoft.com/en-gb/library/hs24szh9.aspx[^] The express edition dose not include MFC.
-
Have a look at Beej's guide to networking programming[^], there are client/server examples in chapter 6. Another starting point is the Winsock Programmer's FAQ[^], it has examples in section 6 (with or without MFC). Alternatively use a socket class such as Alhem, Boost, SharkEngine, QT, and many others... You need to decide if you go the low-level route or take an existing socket class. First teaches you the networking basics, later makes you productive right away. Hope this helps, happy coding! :) /M
Chat in Europe :java: Now with 24% more Twitter
-
Yes, a bad choice of words on my part. I meant that the Express Edition does not include MFC by default, and thus will not be able to build an MFC project, unless you buy MFC and install it.
It's time for a new signature.