Click here to Skip to main content
15,916,188 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: programming in c++ Pin
Albert Holguin20-Oct-11 7:18
professionalAlbert Holguin20-Oct-11 7:18 
AnswerRe: programming in c++ Pin
Erudite_Eric20-Oct-11 7:28
Erudite_Eric20-Oct-11 7:28 
GeneralRe: programming in c++ Pin
Albert Holguin20-Oct-11 9:30
professionalAlbert Holguin20-Oct-11 9:30 
GeneralRe: programming in c++ Pin
Erudite_Eric20-Oct-11 20:17
Erudite_Eric20-Oct-11 20:17 
GeneralRe: programming in c++ Pin
Albert Holguin21-Oct-11 4:46
professionalAlbert Holguin21-Oct-11 4:46 
GeneralRe: programming in c++ Pin
afsus23-Dec-11 23:44
afsus23-Dec-11 23:44 
GeneralRe: programming in c++ Pin
Manfred Rudolf Bihy20-Oct-11 15:49
professionalManfred Rudolf Bihy20-Oct-11 15:49 
GeneralRe: programming in c++ Pin
Erudite_Eric20-Oct-11 20:14
Erudite_Eric20-Oct-11 20:14 
AnswerRe: programming in c++ Pin
Bram van Kampen21-Oct-11 16:23
Bram van Kampen21-Oct-11 16:23 
Questionhow about setting MFC IN C++ Pin
afsus20-Oct-11 0:44
afsus20-Oct-11 0:44 
AnswerRe: how about setting MFC IN C++ Pin
André Kraak20-Oct-11 3:49
André Kraak20-Oct-11 3:49 
QuestionFunction pointer point to a object member function in C++? Pin
lvantin19-Oct-11 21:02
lvantin19-Oct-11 21:02 
AnswerRe: Function pointer point to a object member function in C++? Pin
Stefan_Lang19-Oct-11 23:21
Stefan_Lang19-Oct-11 23:21 
AnswerRe: Function pointer point to a object member function in C++? Pin
App_19-Oct-11 23:22
App_19-Oct-11 23:22 
Questionvisual studio run time problem Pin
trioum19-Oct-11 20:09
trioum19-Oct-11 20:09 
AnswerRe: visual studio run time problem Pin
Chuck O'Toole19-Oct-11 21:28
Chuck O'Toole19-Oct-11 21:28 
GeneralRe: visual studio run time problem Pin
trioum19-Oct-11 22:54
trioum19-Oct-11 22:54 
GeneralRe: visual studio run time problem Pin
«_Superman_»20-Oct-11 2:26
professional«_Superman_»20-Oct-11 2:26 
GeneralRe: visual studio run time problem Pin
trioum20-Oct-11 5:08
trioum20-Oct-11 5:08 
GeneralRe: visual studio run time problem Pin
Chuck O'Toole20-Oct-11 15:01
Chuck O'Toole20-Oct-11 15:01 
AnswerRe: visual studio run time problem Pin
Albert Holguin20-Oct-11 4:01
professionalAlbert Holguin20-Oct-11 4:01 
QuestionI need socket help UDP broadcast, sendbuf Pin
jkirkerx19-Oct-11 14:24
professionaljkirkerx19-Oct-11 14:24 
I copied some sample code from msdn to create a socket, and modified it for testing. I want to broadcast a udp dgram, but I cant figure out what to send. I'm using ethereal to examine what SQL Management sends, and I'm trying to copy the behavior. So it looks like my first send is accurate, but I'm not sending the correct data out for a response back from sqlbrowser. I'm convinced if I send the right stuff, I will get my responses back from all the SQL servers. If i'm in the wrong forum sorry, didn't really know where to post it.

I tried 0x02 in the send buffer.

iResult = getaddrinfo(
"255.255.255.255",
"ms-sql-m",
&hints,
&result
);

I think this is what SQL Management sent
0000  ff ff ff ff ff ff 00 13  72 36 67 30 08 00 45 00   ........ r6g0..E.
0010  00 1d 6f 9a 00 00 80 11  07 8a c0 a8 03 04 ff ff   ..o..... ........
0020  ff ff 05 8b 05 9a 00 09  2f 0b 02                  ........ /.. 


And this is what I sent
0000  ff ff ff ff ff ff 00 13  72 36 67 30 08 00 45 00   ........ r6g0..E.
0010  00 22 8c 51 00 00 80 11  ea cd c0 a8 03 04 ff ff   .".Q.... ........
0020  ff ff 06 bc 05 9a 00 0e  9c 8f 30 78 32 66 30 62   ........ ..0x2f0b

AnswerRe: I need socket help UDP broadcast, sendbuf Pin
Goto_Label_19-Oct-11 23:01
Goto_Label_19-Oct-11 23:01 
GeneralRe: I need socket help UDP broadcast, sendbuf Pin
jkirkerx20-Oct-11 6:25
professionaljkirkerx20-Oct-11 6:25 
AnswerRe: I need socket help UDP broadcast, sendbuf Pin
Albert Holguin20-Oct-11 4:14
professionalAlbert Holguin20-Oct-11 4:14 

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.