?
Solved

Pasing a Pointer Socket from a Thread to Another

Posted on 2001-07-20
2
Medium Priority
?
191 Views
Last Modified: 2013-11-20
0
Comment
Question by:jbeliz
[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
2 Comments
 
LVL 9

Accepted Solution

by:
ShaunWilde earned 60 total points
ID: 6303609
you have to detach the socket and attach it in the other thread - you will also have use CWinThread based threads

the following links should be of use

http://support.microsoft.com/support/kb/articles/Q175/6/68.ASP 

http://support.microsoft.com/support/kb/articles/Q214/3/96.ASP 

and

http://msdn.microsoft.com/library/devprods/vs6/visualc/vcmfc/_mfc_csocket.3a3a.attach.htm 

0
 

Author Comment

by:jbeliz
ID: 6307545
Thanks.

My problem was that I didn't attach the socket.

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.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

764 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