Solved

CAsync socket usage..

Posted on 2004-09-07
4
534 Views
Last Modified: 2008-01-09
Hello all,
  I am trying to develop a multi threaded server - client in vc++...I wanted to use asynchronous sockets and wanted to really use the CAsyncsock class. I am having problems in getting to the usage of the class..Could any one throw me some sample codes and tutorials for this CAsyncsock class so that  I could have a working idea about it. Also is it easier to create a multi threaded application using CAsyncsock class?

Hope some one could help me out on this.

Thanx in advance.

regs.
vignaesh
0
Comment
Question by:Vignaesh
4 Comments
 
LVL 16

Accepted Solution

by:
nonubik earned 250 total points
ID: 11995212
0
 
LVL 6

Assisted Solution

by:Svetlin_Panayotov
Svetlin_Panayotov earned 250 total points
ID: 11995527
http://www.codeproject.com/internet/casyncsocketex.asp
Is a good one - also you can take a look at
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=7900&lngWId=3
but it's a bit more complicated
Good luck :)

Svetlin
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now