• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Pasing a Pointer Socket from a Thread to Another

0
jbeliz
Asked:
jbeliz
1 Solution
 
ShaunWildeCommented:
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
 
jbelizAuthor Commented:
Thanks.

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

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now