Click here to Skip to main content
15,906,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 2 CFileDialogs Pin
Desmo1613-Nov-06 6:54
Desmo1613-Nov-06 6:54 
GeneralRe: 2 CFileDialogs Pin
toxcct13-Nov-06 6:55
toxcct13-Nov-06 6:55 
GeneralRe: 2 CFileDialogs Pin
Desmo1613-Nov-06 23:51
Desmo1613-Nov-06 23:51 
Questionis socket in win32 (vc++) is blocking Pin
vineeshV13-Nov-06 5:53
vineeshV13-Nov-06 5:53 
AnswerRe: is socket in win32 (vc++) is blocking Pin
James R. Twine13-Nov-06 6:08
James R. Twine13-Nov-06 6:08 
AnswerRe: is socket in win32 (vc++) is blocking Pin
Mark Salsbery13-Nov-06 6:14
Mark Salsbery13-Nov-06 6:14 
AnswerRe: is socket in win32 (vc++) is blocking Pin
vineeshV13-Nov-06 6:30
vineeshV13-Nov-06 6:30 
GeneralRe: is socket in win32 (vc++) is blocking Pin
Mark Salsbery13-Nov-06 7:06
Mark Salsbery13-Nov-06 7:06 
vinucv wrote:
but when parrelel threads are there . it still makes problems


What is going on in these threads? As far as I know, sending from simultaneous threads is not
a good idea without synchronization. This may not be the case but I've never found documentation
that Windows Sockets is thread safe.
Are you destroying a thread while it's blocked on send()?
Are you closing the socket on one thread while another thread is blocked on send()?
The socket will be in blocking mode unless you've called WSAAsyncSelect or WSAEventSelect (this
could be different if you are using MFC socket classes).
GeneralRe: is socket in win32 (vc++) is blocking Pin
led mike13-Nov-06 7:30
led mike13-Nov-06 7:30 
GeneralRe: is socket in win32 (vc++) is blocking Pin
Mark Salsbery13-Nov-06 7:31
Mark Salsbery13-Nov-06 7:31 
GeneralRe: is socket in win32 (vc++) is blocking Pin
vineeshV13-Nov-06 7:48
vineeshV13-Nov-06 7:48 
GeneralRe: is socket in win32 (vc++) is blocking Pin
Mark Salsbery13-Nov-06 7:56
Mark Salsbery13-Nov-06 7:56 
GeneralRe: is socket in win32 (vc++) is blocking Pin
vineeshV13-Nov-06 8:18
vineeshV13-Nov-06 8:18 
GeneralRe: is socket in win32 (vc++) is blocking Pin
Mark Salsbery13-Nov-06 8:50
Mark Salsbery13-Nov-06 8:50 
GeneralRe: is socket in win32 (vc++) is blocking Pin
led mike13-Nov-06 8:11
led mike13-Nov-06 8:11 
GeneralRe: is socket in win32 (vc++) is blocking Pin
vineeshV13-Nov-06 8:20
vineeshV13-Nov-06 8:20 
GeneralRe: is socket in win32 (vc++) is blocking Pin
led mike13-Nov-06 9:08
led mike13-Nov-06 9:08 
GeneralRe: is socket in win32 (vc++) is blocking Pin
Mark Salsbery13-Nov-06 11:30
Mark Salsbery13-Nov-06 11:30 
GeneralRe: is socket in win32 (vc++) is blocking Pin
led mike13-Nov-06 11:43
led mike13-Nov-06 11:43 
GeneralRe: is socket in win32 (vc++) is blocking Pin
Mark Salsbery13-Nov-06 8:51
Mark Salsbery13-Nov-06 8:51 
GeneralRe: is socket in win32 (vc++) is blocking Pin
vineeshV14-Nov-06 7:04
vineeshV14-Nov-06 7:04 
Questionpass_thru in hyperthreading Pin
vineeshV13-Nov-06 5:49
vineeshV13-Nov-06 5:49 
AnswerRe: pass_thru in hyperthreading Pin
James R. Twine13-Nov-06 6:00
James R. Twine13-Nov-06 6:00 
GeneralRe: pass_thru in hyperthreading Pin
Mark Salsbery13-Nov-06 6:20
Mark Salsbery13-Nov-06 6:20 
GeneralRe: pass_thru in hyperthreading Pin
James R. Twine13-Nov-06 6:39
James R. Twine13-Nov-06 6:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.