Click here to Skip to main content
15,891,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to configure that filterchain??(directshow problem) Pin
selectgood25-Dec-06 20:23
selectgood25-Dec-06 20:23 
AnswerRe: how to configure that filterchain??(directshow problem) Pin
Mark Salsbery26-Dec-06 6:24
Mark Salsbery26-Dec-06 6:24 
Questionhow to select the all the child checkboxes when a root is selected/clicked Pin
ramesh_s2125-Dec-06 19:19
ramesh_s2125-Dec-06 19:19 
AnswerRe: how to select the all the child checkboxes when a root is selected/clicked Pin
_AnsHUMAN_ 25-Dec-06 19:52
_AnsHUMAN_ 25-Dec-06 19:52 
AnswerRe: how to select the all the child checkboxes when a root is selected/clicked Pin
Cristian Amarie25-Dec-06 22:41
Cristian Amarie25-Dec-06 22:41 
GeneralRe: how to select the all the child checkboxes when a root is selected/clicked Pin
ramesh_s2126-Dec-06 18:08
ramesh_s2126-Dec-06 18:08 
GeneralRe: how to select the all the child checkboxes when a root is selected/clicked Pin
Cristian Amarie26-Dec-06 20:19
Cristian Amarie26-Dec-06 20:19 
QuestionSocket connection Pin
Syamlal S Nair25-Dec-06 18:27
Syamlal S Nair25-Dec-06 18:27 
Hi all,

I am trying to make a chat server and client, for which I am inheriting the MFC CAsyncSocket. But the class member called Connect() is not properly responding. It shuld return nonzero value when connection succeeds and 0 if fails.But, it always returns zero,even when the connection succeeds.If the server is not listening, then also connection succeeds, but GetSockName() gives IpAddress=0.0.0.0, not the one which we specify for connecting. If server is listening, then the Ip Address which GetSockName() gives is correct.

I even tried with GetLastError() but it always returns a value 10035 even if the server is listening or not.

Please help me by providing a way to identify whether connection is success or failure..
thanks in advance...

SYAMLAL

AnswerRe: Socket connection Pin
prasad_som25-Dec-06 21:28
prasad_som25-Dec-06 21:28 
GeneralRe: Socket connection Pin
Syamlal S Nair26-Dec-06 0:44
Syamlal S Nair26-Dec-06 0:44 
AnswerRe: Socket connection Pin
prasad_som26-Dec-06 1:59
prasad_som26-Dec-06 1:59 
AnswerRe: Socket connection Pin
kasturi_haribabu25-Dec-06 22:34
kasturi_haribabu25-Dec-06 22:34 
AnswerRe: Socket connection Pin
Mark Salsbery26-Dec-06 6:33
Mark Salsbery26-Dec-06 6:33 
QuestionOpenFileMapping Fails Pin
Gupta Suraj25-Dec-06 18:10
Gupta Suraj25-Dec-06 18:10 
AnswerRe: OpenFileMapping Fails Pin
prasad_som25-Dec-06 19:03
prasad_som25-Dec-06 19:03 
GeneralRe: OpenFileMapping Fails Pin
Gupta Suraj25-Dec-06 21:29
Gupta Suraj25-Dec-06 21:29 
AnswerRe: OpenFileMapping Fails Pin
prasad_som25-Dec-06 21:33
prasad_som25-Dec-06 21:33 
Questionuser input in win32 application Pin
ooolz25-Dec-06 17:29
ooolz25-Dec-06 17:29 
QuestionRe: user input in win32 application Pin
prasad_som25-Dec-06 18:40
prasad_som25-Dec-06 18:40 
AnswerRe: user input in win32 application Pin
ooolz25-Dec-06 18:46
ooolz25-Dec-06 18:46 
QuestionRe: user input in win32 application Pin
prasad_som25-Dec-06 18:56
prasad_som25-Dec-06 18:56 
Questionlittle dictionary Pin
rockfanskid25-Dec-06 16:44
rockfanskid25-Dec-06 16:44 
AnswerRe: little dictionary Pin
Hamid_RT26-Dec-06 7:06
Hamid_RT26-Dec-06 7:06 
QuestionMFC v.s. valarray Pin
ytod25-Dec-06 15:37
ytod25-Dec-06 15:37 
AnswerRe: MFC v.s. valarray Pin
prasad_som25-Dec-06 18:38
prasad_som25-Dec-06 18:38 

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.