Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAbout the drag&drop Pin
lj_wml4-Sep-06 22:28
lj_wml4-Sep-06 22:28 
AnswerRe: About the drag&drop Pin
Michael Dunn5-Sep-06 12:46
sitebuilderMichael Dunn5-Sep-06 12:46 
GeneralRe: About the drag&drop Pin
lj_wml5-Sep-06 16:02
lj_wml5-Sep-06 16:02 
Questionmake setup Pin
milleusi4-Sep-06 22:08
milleusi4-Sep-06 22:08 
AnswerRe: make setup Pin
Hamid_RT5-Sep-06 2:36
Hamid_RT5-Sep-06 2:36 
GeneralRe: make setup Pin
milleusi5-Sep-06 7:19
milleusi5-Sep-06 7:19 
GeneralRe: make setup Pin
Hamid_RT5-Sep-06 20:35
Hamid_RT5-Sep-06 20:35 
QuestionNeed help on socket progrmming Pin
Kiran Pinjala4-Sep-06 21:55
Kiran Pinjala4-Sep-06 21:55 
I have class CMySock derived from CAsyncSocket and that class has a member as
CMySock *pSock;
CMySock's object is created and kept in listen mode.When a connection reqest comes and CMySock's OnAccept() is called. There I want to connect to another system with pSock. and my code for that is
if(!(m_pSrcClientSocket->m_pDestClientSocket)->Create())<br />
{<br />
  MessageBox("Falied to create a socket");<br />
}<br />
else<br />
{<br />
 if(!(m_pSrcClientSocket->m_pDestClientSocket)->Connect(rs.GetAt(0),port))<br />
  {// <big>Here its failing to connect and gives an error WSAEWOULDBLOCK</big><br />
<br />
   int err = GetLastError();<br />
   MessageBox("Failed to connect to Connect");<br />
  }<br />
  else<br />
  {<br />
    // do something.<br />
  }<br />
}




if the pointer is of CSocket instead of CMySock its connecting well.
I want to user CMySock only.
How to overcome this problem. Please help.

Thank you

KIRAN PINJARLA

AnswerRe: Need help on socket progrmming Pin
Frank K5-Sep-06 1:24
Frank K5-Sep-06 1:24 
Questioncan i post a Completion MSG from one IOCP to another? Pin
houpainansheng4-Sep-06 21:40
houpainansheng4-Sep-06 21:40 
Questionhow to save data in database Pin
With_problem4-Sep-06 21:02
With_problem4-Sep-06 21:02 
AnswerRe: how to save data in database Pin
Hamid_RT5-Sep-06 0:59
Hamid_RT5-Sep-06 0:59 
GeneralRe: how to save data in database Pin
With_problem5-Sep-06 19:11
With_problem5-Sep-06 19:11 
GeneralRe: how to save data in database Pin
Hamid_RT5-Sep-06 20:35
Hamid_RT5-Sep-06 20:35 
Questionregarding list box in vc++ Pin
haasini4-Sep-06 20:38
haasini4-Sep-06 20:38 
AnswerRe: regarding list box in vc++ Pin
Programm3r4-Sep-06 20:47
Programm3r4-Sep-06 20:47 
GeneralRe: regarding list box in vc++ Pin
Programm3r4-Sep-06 20:59
Programm3r4-Sep-06 20:59 
GeneralRe: regarding list box in vc++ Pin
haasini4-Sep-06 21:07
haasini4-Sep-06 21:07 
QuestionRe: regarding list box in vc++ Pin
Programm3r4-Sep-06 21:13
Programm3r4-Sep-06 21:13 
AnswerRe: regarding list box in vc++ Pin
velayudhan_raj4-Sep-06 20:48
velayudhan_raj4-Sep-06 20:48 
GeneralRe: regarding list box in vc++ Pin
haasini4-Sep-06 21:01
haasini4-Sep-06 21:01 
AnswerRe: regarding list box in vc++ Pin
Hamid_RT4-Sep-06 20:50
Hamid_RT4-Sep-06 20:50 
GeneralRe: regarding list box in vc++ Pin
haasini4-Sep-06 21:05
haasini4-Sep-06 21:05 
GeneralRe: regarding list box in vc++ Pin
Hamid_RT5-Sep-06 20:37
Hamid_RT5-Sep-06 20:37 
AnswerRe: regarding list box in vc++ Pin
Viorel.4-Sep-06 21:45
Viorel.4-Sep-06 21:45 

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.