how i can make socket connection using C++

Greetings all,

am new with C++ coding and i was wondring if i can make a socket connection between server and client using C++ and its connected to database .


can i do that using C++?

if i can! can anyone explain how or at least share with me a part of it so i can understand how its going ??


thnx all
You can, but I think it's OS specific, there are probably cross platform libraries though. What operating system are you running?
windows XP SP2 using MicroSoft Visual Studio 2008
You can use the CSocket class which is part of MFC. Or you could use lower level socket API.
Google should find you may examples.
specifically google the term winsock tutorial.
okey i will work on it thnx ;)
No problem :)
Topic archived. No new replies allowed.