Solved

CAsync socket usage..

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

705 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