Click here to Skip to main content
15,397,218 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Function in namespace - multiple definition Pin
elelont229-Sep-14 21:35
Memberelelont229-Sep-14 21:35 
GeneralRe: Function in namespace - multiple definition Pin
Richard MacCutchan29-Sep-14 21:58
mveRichard MacCutchan29-Sep-14 21:58 
AnswerRe: Function in namespace - multiple definition Pin
Albert Holguin30-Sep-14 2:43
professionalAlbert Holguin30-Sep-14 2:43 
QuestionVector Iterator Incompatible Pin
mjackson1129-Sep-14 10:07
Membermjackson1129-Sep-14 10:07 
AnswerRe: Vector Iterator Incompatible Pin
Chris Losinger29-Sep-14 10:20
professionalChris Losinger29-Sep-14 10:20 
GeneralRe: Vector Iterator Incompatible Pin
mjackson1129-Sep-14 12:10
Membermjackson1129-Sep-14 12:10 
QuestionFormview scroll problem Pin
john563229-Sep-14 2:45
Memberjohn563229-Sep-14 2:45 
QuestionSocket Programming(UDP) Pin
A_Fa28-Sep-14 20:48
MemberA_Fa28-Sep-14 20:48 
Hi all.
I develop an application that send UDP packet to the embedded board. Embedded Board cannot receive packet because packet protocol changed to ARP.
If I replace the Embedded Board with a PC and sniff network with WireShark, UDP packets are seen. what's the problem?
If I send UDP packet with PacketBuilder to the Embedded board, it can receive it.
I use MFC CSocket class to send UDP packet.
My Code is:
C++
CSocket sockSrvr;
if ( sockSrvr.Create(1239,SOCK_DGRAM)==0)
{
    MessageBox("Can't create socket");
    return FALSE;
}
char    data[100];
memset(data,1,sizeof(data));
if ( sockSrvr.SendTo(data,sizeof(data),1239,"10.14.83.11")<=0)
{
    MessageBox("Error in Sending");
    return FALSE;
}
sockSrvr.Close();
return TRUE;


I test windows API to send UDP packet but not differ with CSocket.

thanks for your help
AnswerRe: Socket Programming(UDP) Pin
Richard MacCutchan28-Sep-14 22:02
mveRichard MacCutchan28-Sep-14 22:02 
GeneralRe: Socket Programming(UDP) Pin
A_Fa28-Sep-14 22:17
MemberA_Fa28-Sep-14 22:17 
GeneralRe: Socket Programming(UDP) Pin
Richard MacCutchan28-Sep-14 22:30
mveRichard MacCutchan28-Sep-14 22:30 
Questionmatrix svd decomposition problem Pin
includeh1028-Sep-14 11:29
Memberincludeh1028-Sep-14 11:29 
AnswerRe: matrix svd decomposition problem Pin
Richard MacCutchan28-Sep-14 22:01
mveRichard MacCutchan28-Sep-14 22:01 
AnswerRe: matrix svd decomposition problem Pin
CPallini28-Sep-14 22:01
mveCPallini28-Sep-14 22:01 
GeneralRe: matrix svd decomposition problem Pin
includeh1029-Sep-14 4:17
Memberincludeh1029-Sep-14 4:17 
GeneralRe: matrix svd decomposition problem Pin
CPallini29-Sep-14 5:17
mveCPallini29-Sep-14 5:17 
QuestionWill casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_27-Sep-14 6:33
MemberVaclav_27-Sep-14 6:33 
AnswerRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Rick York27-Sep-14 8:02
mveRick York27-Sep-14 8:02 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_27-Sep-14 9:05
MemberVaclav_27-Sep-14 9:05 
AnswerRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan27-Sep-14 22:07
mveRichard MacCutchan27-Sep-14 22:07 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_28-Sep-14 4:18
MemberVaclav_28-Sep-14 4:18 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan28-Sep-14 4:40
mveRichard MacCutchan28-Sep-14 4:40 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_28-Sep-14 6:10
MemberVaclav_28-Sep-14 6:10 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan28-Sep-14 6:41
mveRichard MacCutchan28-Sep-14 6:41 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_28-Sep-14 8:35
MemberVaclav_28-Sep-14 8:35 

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.