Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CAsync socket usage..

Posted on 2004-09-07
4
Medium Priority
?
545 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 1000 total points
ID: 11995212
0
 
LVL 6

Assisted Solution

by:Svetlin_Panayotov
Svetlin_Panayotov earned 1000 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] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

610 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