WinSock API + UI-based threads from CWinThread
Im interested to know if its possible to use SOCKET in UI-based threads from the CWinThread class without facing any compatibility issues.
thanks in advance
[166 byte] By [
JamesG] at [2007-11-20 0:41:56]

# 1 Re: WinSock API + UI-based threads from CWinThread
There are no compatibility issues, only if you are sharing MFC socket then you need to take care of detaching from current thread and attching it to new thread where you want to use next.
# 2 Re: WinSock API + UI-based threads from CWinThread
-- Agreed with Krishnaa,
In addition to what krishnaa said, U might also want to think
about message routing and the call back functions !!
A lot of people get stuck doing IPC . so i would say think about that in advance.
enjoy ur self :wave: