Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: find a effictive way!! Pin
CPallini6-Jul-10 20:48
mveCPallini6-Jul-10 20:48 
AnswerRe: find a effictive way!! Pin
Richard MacCutchan6-Jul-10 21:35
mveRichard MacCutchan6-Jul-10 21:35 
GeneralRe: find a effictive way!! Pin
wbgxx6-Jul-10 21:56
wbgxx6-Jul-10 21:56 
GeneralRe: find a effictive way!! Pin
Richard MacCutchan7-Jul-10 2:48
mveRichard MacCutchan7-Jul-10 2:48 
QuestionIME Pin
Ed SHaw6-Jul-10 13:46
Ed SHaw6-Jul-10 13:46 
Questionc++ code to solve M simultanous linear equations with N variables - N<M Pin
mrby1236-Jul-10 12:42
mrby1236-Jul-10 12:42 
AnswerRe: c++ code to solve M simultanous linear equations with N variables - N<M Pin
Maximilien6-Jul-10 13:22
Maximilien6-Jul-10 13:22 
AnswerRe: c++ code to solve M simultanous linear equations with N variables - N<M Pin
Stephen Hewitt6-Jul-10 13:37
Stephen Hewitt6-Jul-10 13:37 
QuestionMFC debug version mfc90d.dll issue Pin
kasi146-Jul-10 8:35
kasi146-Jul-10 8:35 
AnswerRe: MFC debug version mfc90d.dll issue Pin
Maximilien6-Jul-10 10:22
Maximilien6-Jul-10 10:22 
GeneralRe: MFC debug version mfc90d.dll issue Pin
kasi146-Jul-10 13:00
kasi146-Jul-10 13:00 
Questioncan not see progress in the progress Bar Pin
mrby1236-Jul-10 7:51
mrby1236-Jul-10 7:51 
QuestionRe: can not see progress in the progress Bar Pin
David Crow6-Jul-10 7:54
David Crow6-Jul-10 7:54 
AnswerRe: can not see progress in the progress Bar Pin
mrby1236-Jul-10 8:19
mrby1236-Jul-10 8:19 
GeneralRe: can not see progress in the progress Bar Pin
Cedric Moonen6-Jul-10 9:54
Cedric Moonen6-Jul-10 9:54 
QuestionHow to build 64bit SDI with MFC? [modified] Pin
hztj20056-Jul-10 7:24
hztj20056-Jul-10 7:24 
QuestionRe: How to build 64bit SDI with MFC? Pin
David Crow6-Jul-10 7:52
David Crow6-Jul-10 7:52 
AnswerRe: How to build 64bit SDI with MFC? Pin
hztj20056-Jul-10 8:29
hztj20056-Jul-10 8:29 
QuestionRe: How to build 64bit SDI with MFC? Pin
David Crow6-Jul-10 9:43
David Crow6-Jul-10 9:43 
AnswerRe: How to build 64bit SDI with MFC? Pin
hztj20057-Jul-10 3:33
hztj20057-Jul-10 3:33 
QuestionWinsock problem Pin
masnu6-Jul-10 7:01
masnu6-Jul-10 7:01 
AnswerRe: Winsock problem Pin
Moak6-Jul-10 11:31
Moak6-Jul-10 11:31 
GeneralRe: Winsock problem Pin
masnu7-Jul-10 3:26
masnu7-Jul-10 3:26 
GeneralRe: Winsock problem [modified] Pin
Moak7-Jul-10 4:32
Moak7-Jul-10 4:32 
If the TCP handshake is successful, you are actually sending packages from the microcontroller to the PC. This lets me wonder if the error you see is on application level, perhaps your socket code is not working properly, could be both client or server side. In the code snippet you provided there is no connect or bind/listen call, so I would not expect the socket to change status.

1) Have you tried connecting to your PC socket application from another PC (or via loopback)?
2) What error code do you get when connecting from microcontroller to PC? Timeout or something else?
3) Have you checked with Wireshark that TCP handshake is fine and packages are properly ACKed?
4) Which TCP stack are you using on the micocontroller (ARM SDK)? Could the problem not be Winsock at all?

Chat in Europe Java | [Coffee] Now with 24% more Twitter


modified on Wednesday, July 7, 2010 11:05 AM

GeneralRe: Winsock problem Pin
masnu7-Jul-10 4:56
masnu7-Jul-10 4:56 

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.