Solved

CAsync socket usage..

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

Title # Comments Views Activity
How to check if url exists using c++? 6 743
Cchar * Concating 7 97
Setup project 6 79
Need some help with design 17 20
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 an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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