Solved

Pasing a Pointer Socket from a Thread to Another

Posted on 2001-07-20
2
178 Views
Last Modified: 2013-11-20
0
Comment
Question by:jbeliz
2 Comments
 
LVL 9

Accepted Solution

by:
ShaunWilde earned 20 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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