Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Chat Application Programming.

Posted on 2004-08-10
9
Medium Priority
?
266 Views
Last Modified: 2011-09-20
Hi,
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.
Cheers





0
Comment
Question by:D-AGGARWAL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11768453
Homework?
Take a look to www.codeproject.com
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 672 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:
http://www.amazon.com/exec/obidos/tg/detail/-/0072121378/qid=1092180838/sr=1-10/ref=sr_1_10/002-0079756-6194428?v=glance&s=books
0
 
LVL 86

Assisted Solution

by:jkr
jkr earned 664 total points
ID: 11768710
Why don't you get the source code of a free IRC application (e.g. http://sourceforge.net/projects/gaim/) to learn from? A 'fun' sample to study might be http://sourceforge.net/projects/windrop/
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 1

Assisted Solution

by:mcbastian
mcbastian earned 664 total points
ID: 11770291
afaik does the MSDN help for WinSock include a sample chat-application.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_core_windows_sockets_in_mfc.asp
there are links in the text where you can download the chatter (client) and the chatsrvr (server)  
full source, MFC.

for general winsock programming:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/windows_sockets_start_page_2.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/getting_started_with_winsock.asp

hope that helps :-)
0
 
LVL 39

Expert Comment

by:itsmeandnobodyelse
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
0
 
LVL 1

Expert Comment

by:mcbastian
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)  
:-)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

719 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