Chat Application Programming.

Posted on 2004-08-10
Last Modified: 2011-09-20
I want to program a chat application using
1) Winsock
2) Vc++
Can you please let me know where can i find DETAILED information regarding
1) Winsock
2) Developing chat applications

Or any books that might come in handy for this.
Ill be greatful if you could help me out.

Question by:D-AGGARWAL
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11768453
Take a look to
LVL 55

Accepted Solution

Jaime Olivares earned 168 total points
ID: 11768491
The key in Visual C++ is the CSocket class, you can build any network application using this class.
Also you can buy this book:
LVL 86

Assisted Solution

jkr earned 166 total points
ID: 11768710
Why don't you get the source code of a free IRC application (e.g. to learn from? A 'fun' sample to study might be
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.


Assisted Solution

mcbastian earned 166 total points
ID: 11770291
afaik does the MSDN help for WinSock include a sample chat-application.
there are links in the text where you can download the chatter (client) and the chatsrvr (server)  
full source, MFC.

for general winsock programming:

hope that helps :-)
LVL 39

Expert Comment

ID: 11770482
The two sample projects mcbastian is talking of are Chatter and ChatSrvr. You may get them from his first link above or from VC6.0 Professional/Enterprise CD.

Regards, Alex

Expert Comment

ID: 11770523
as I mentioned it in my article...
>there are links in the text where you can download the chatter (client) and the chatsrvr (server)  

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
multi threaded debug dll option in visual studio 2 120
C++ assignment question 7 236
Embarcadero WebBroker REST server endpoint parameters 2 79
FMX TCameraComponent Problem 2 82
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question