Click here to Skip to main content
15,917,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem with CMap GetStartPosition() Pin
PJ Arends10-Jan-07 5:56
professionalPJ Arends10-Jan-07 5:56 
QuestionRe: Problem with CMap GetStartPosition() Pin
David Crow10-Jan-07 5:59
David Crow10-Jan-07 5:59 
QuestionWhat's the problem of my program? Pin
Ming Luo10-Jan-07 5:15
Ming Luo10-Jan-07 5:15 
AnswerRe: What's the problem of my program? Pin
Roger Stoltz10-Jan-07 5:36
Roger Stoltz10-Jan-07 5:36 
GeneralRe: What's the problem of my program? Pin
PJ Arends10-Jan-07 6:02
professionalPJ Arends10-Jan-07 6:02 
GeneralRe: What's the problem of my program? Pin
Roger Stoltz10-Jan-07 6:11
Roger Stoltz10-Jan-07 6:11 
QuestionSending File Through UDP Pin
Girish60110-Jan-07 4:14
Girish60110-Jan-07 4:14 
AnswerRe: Sending File Through UDP Pin
Roger Stoltz10-Jan-07 4:36
Roger Stoltz10-Jan-07 4:36 
Girish601 wrote:
I hope in UDP you are sending on a Broadcast IP and port,so how to do it.


Create the socket with a call to CSocket::Create and set the nSocketType parameter to SOCK_DGRAM for UDP.
If the socket was successfully created you can use CSocket::SendTo for sending datagrams to whatever address and port you desire since both shall be provided as formal parameters.

If you're not using MFC you can use the raw socket API, but I think you get the picture.

Hope this helps
--
Roger


"It's supposed to be hard, otherwise anybody could do it!" - selfquote

"No one remembers a coward!" - Jan Elfström 1998
"...but everyone remembers an idiot!" - my lawyer 2005 when heard of Jan's saying above

AnswerRe: Sending File Through UDP Pin
James R. Twine10-Jan-07 4:50
James R. Twine10-Jan-07 4:50 
GeneralRe: Sending File Through UDP Pin
Tim Paaschen10-Jan-07 19:42
Tim Paaschen10-Jan-07 19:42 
GeneralRe: Sending File Through UDP Pin
James R. Twine11-Jan-07 13:38
James R. Twine11-Jan-07 13:38 
AnswerRe: Sending File Through UDP Pin
Eytukan10-Jan-07 4:56
Eytukan10-Jan-07 4:56 
QuestionWhat happens when I open a file with its "default" program? Pin
KellyR10-Jan-07 3:18
KellyR10-Jan-07 3:18 
AnswerRe: What happens when I open a file with its "default" program? Pin
Roger Stoltz10-Jan-07 3:38
Roger Stoltz10-Jan-07 3:38 
QuestionRe: What happens when I open a file with its "default" program? Pin
KellyR10-Jan-07 4:01
KellyR10-Jan-07 4:01 
GeneralRe: What happens when I open a file with its "default" program? Pin
CPallini10-Jan-07 4:12
mveCPallini10-Jan-07 4:12 
GeneralRe: What happens when I open a file with its "default" program? Pin
KellyR10-Jan-07 4:18
KellyR10-Jan-07 4:18 
GeneralRe: What happens when I open a file with its "default" program? Pin
Roger Stoltz10-Jan-07 4:15
Roger Stoltz10-Jan-07 4:15 
GeneralRe: What happens when I open a file with its "default" program? Pin
CPallini10-Jan-07 4:21
mveCPallini10-Jan-07 4:21 
GeneralRe: What happens when I open a file with its "default" program? Pin
Roger Stoltz10-Jan-07 4:30
Roger Stoltz10-Jan-07 4:30 
GeneralRe: What happens when I open a file with its "default" program? Pin
CPallini10-Jan-07 4:36
mveCPallini10-Jan-07 4:36 
GeneralRe: What happens when I open a file with its "default" program? Pin
Roger Stoltz10-Jan-07 4:42
Roger Stoltz10-Jan-07 4:42 
GeneralRe: What happens when I open a file with its "default" program? [modified] Pin
CPallini10-Jan-07 4:54
mveCPallini10-Jan-07 4:54 
GeneralRe: What happens when I open a file with its "default" program? Pin
KellyR10-Jan-07 5:35
KellyR10-Jan-07 5:35 
GeneralRe: What happens when I open a file with its "default" program? Pin
Roger Stoltz10-Jan-07 5:55
Roger Stoltz10-Jan-07 5:55 

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.