On 2/6/08, muhammad.ajmal <[EMAIL PROTECTED]> wrote: > I am an intermediate level of C and C++ programmer and want to harness my > coding skills in C and C++. > To achieve the above goal I want to start working on a complete application > like "Skype". In know that I have to learn Socket programming to achieve the > functionality like skype. > Suggestions are welcome and I would request all the guru of c/c++ to advise > me how I can take a good start to learn socket programming . I want to > complete this work for windows OS, and I am using Visual Studio 2005.
Doing it from the ground up, with sockets is a very, very tough job. I think that if you start doing it that way you'll quickly get overwhelmed by the sheer amount of work you have to do (just imagine, you'll need to capture and encode the sound on the fly and send it to the other peer, while decoding and playing what the other end sends etc). A big part of programming is learning to use third party libraries that make your life easier. So, for instance if you want to develop a VOIP application why don't you find a decent library for SIP like http://www.pjsip.org/ and going from there? This library is also very portable so you could learn how to write cross-platform apps. It's pointless to reinvent the wheel over and over again... Just my two cents. -- Tamas Marki
