Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating MSFlexGrid at runtime Pin
Toni7828-May-03 18:44
Toni7828-May-03 18:44 
GeneralGetPixel() help! Pin
EVim28-May-03 13:19
EVim28-May-03 13:19 
GeneralRe: GetPixel() help! Pin
Anonymous28-May-03 15:23
Anonymous28-May-03 15:23 
GeneralThank you! Pin
Sevim29-May-03 5:11
Sevim29-May-03 5:11 
GeneralZero Proof Algorithm Pin
3green28-May-03 12:05
3green28-May-03 12:05 
Generalraw socket sendto() Pin
Kuniva28-May-03 12:02
Kuniva28-May-03 12:02 
GeneralRe: raw socket sendto() Pin
Trollslayer28-May-03 22:15
mentorTrollslayer28-May-03 22:15 
GeneralRe: raw socket sendto() Pin
Kuniva29-May-03 1:03
Kuniva29-May-03 1:03 
But how does the socket know the source address it should use? I mean, the idea of the raw socket is that we can use setsockopt() to tell it it should use OUR header, and not the one filled in by windows by default. But in sendto() it would only get the socket,the data and a sockaddr_in structure as parameters, so you are saying the data for the header should be somewhere in the socket handle... because the sockaddr_in structure only contains data for the destination. I don't see how this is possible since a SOCKET is just a handle, an int.. How does it know the header to use? Perhaps you have an example for sending a packet with your own header? It would clarify a lot for me...

Thanks

Kuniva
--------------------------------------------

GeneralRe: raw socket sendto() Pin
Johnny ²29-May-03 3:13
Johnny ²29-May-03 3:13 
GeneralTransparent window Pin
untwisted28-May-03 11:59
untwisted28-May-03 11:59 
GeneralRe: Transparent window Pin
Kippesoep29-May-03 2:13
Kippesoep29-May-03 2:13 
GeneralWeb Services Pin
Christian Graus28-May-03 11:48
protectorChristian Graus28-May-03 11:48 
GeneralRe: Web Services Pin
Nemanja Trifunovic28-May-03 11:57
Nemanja Trifunovic28-May-03 11:57 
GeneralRe: Web Services Pin
Christian Graus28-May-03 11:59
protectorChristian Graus28-May-03 11:59 
GeneralRe: Web Services Pin
Michael Dunn28-May-03 15:56
sitebuilderMichael Dunn28-May-03 15:56 
GeneralRe: Web Services Pin
Christian Graus28-May-03 12:02
protectorChristian Graus28-May-03 12:02 
GeneralRe: Web Services Pin
Nemanja Trifunovic28-May-03 12:23
Nemanja Trifunovic28-May-03 12:23 
GeneralRe: Web Services Pin
Jason Henderson28-May-03 17:31
Jason Henderson28-May-03 17:31 
Questionwhich function can capture mouse and cursor events? Pin
includeh1028-May-03 10:53
includeh1028-May-03 10:53 
AnswerRe: which function can capture mouse and cursor events? Pin
David Crow28-May-03 11:01
David Crow28-May-03 11:01 
QuestionAdding a button to the system bar? Pin
mcgahanfl28-May-03 10:51
mcgahanfl28-May-03 10:51 
AnswerRe: Adding a button to the system bar? Pin
Rickard Andersson2028-May-03 11:59
Rickard Andersson2028-May-03 11:59 
GeneralMenu :o) Pin
MemLeak28-May-03 10:13
MemLeak28-May-03 10:13 
GeneralRe: Menu :o) Pin
peterchen28-May-03 10:46
peterchen28-May-03 10:46 
GeneralRe: Menu :o) Pin
Michael Dunn28-May-03 15:58
sitebuilderMichael Dunn28-May-03 15:58 

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.