Solved

CAsync socket usage..

Posted on 2004-09-07
4
538 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

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.

Question has a verified solution.

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

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

829 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