I want to build a simple chat session between two users, not more. I know that this should be done using socket programming, but to be honest i haven’t worked in this domain yet so this will be my first.
I need to know where to start from and was wondering if there are any samples that you suggest i start from.
Thanks in advance.
If you are using Windows, then I would suggest looking at this site to learn the WinSock API.
http://tangentsoft.net/wskfaq/
Section 6.1 contains some example code which I found very helpful when first learning socket programming.