Click here to Skip to main content
16,010,918 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: capCreateCaptureWindow - change window title after creation? Pin
Vaclav_3-Dec-08 10:51
Vaclav_3-Dec-08 10:51 
QuestionMultiByteWideChar and € (Euro sign) Pin
BadJerry3-Dec-08 6:35
BadJerry3-Dec-08 6:35 
AnswerRe: MultiByteWideChar and € (Euro sign) Pin
YoungJin Shin3-Dec-08 18:58
YoungJin Shin3-Dec-08 18:58 
QuestionGina and TSE Pin
Narfix3-Dec-08 5:51
professionalNarfix3-Dec-08 5:51 
QuestionRe: Gina and TSE Pin
Narfix4-Dec-08 5:27
professionalNarfix4-Dec-08 5:27 
Questionzmouse.h and prsht.h errors in BOTH my afx projects for no reason... Pin
CalvinB3-Dec-08 5:30
CalvinB3-Dec-08 5:30 
AnswerRe: zmouse.h and prsht.h errors in BOTH my afx projects for no reason... Pin
CalvinB5-Dec-08 2:30
CalvinB5-Dec-08 2:30 
QuestionCan't receive broadcast UDP at the socket [modified] Pin
fizzoxx3-Dec-08 5:16
fizzoxx3-Dec-08 5:16 
I have a problem where I wish to receive broadcast UDP using call recvfrom, it just sits on the call waiting, although the packets are arriving as I can see in Wireshark.

In the scenario, I have a virtual machine which provides the broadcast packets on UDP port 3000, which are being received on the host machine through the loopback adapter. As a starting point, I’ve used the example code from the MSDN Library entry for recvfrom and changed the port value to 3000, and used setsockopt to set SO_BROADCAST to true.

Using netstat, I can see an active connection on my process for 0.0.0.0:3000.

Where am I going wrong?

Any help appreciated
david

EDIT: im kind of thinking its something to do with it coming from a virtual machine over a loopback adapter???
And by the way, its on Vista64 using Visual Studio 2005

modified on Wednesday, December 3, 2008 11:35 AM

QuestionRe: Can't receive broadcast UDP at the socket Pin
led mike3-Dec-08 6:49
led mike3-Dec-08 6:49 
AnswerRe: Can't receive broadcast UDP at the socket Pin
fizzoxx3-Dec-08 21:18
fizzoxx3-Dec-08 21:18 
GeneralRe: Can't receive broadcast UDP at the socket Pin
led mike4-Dec-08 5:26
led mike4-Dec-08 5:26 
AnswerRe: Can't receive broadcast UDP at the socket Pin
fizzoxx5-Dec-08 0:54
fizzoxx5-Dec-08 0:54 
Questionkeyboardmanger() class Pin
hnaghdali3-Dec-08 2:33
hnaghdali3-Dec-08 2:33 
QuestionRe: keyboardmanger() class Pin
sashoalm3-Dec-08 2:47
sashoalm3-Dec-08 2:47 
AnswerRe: keyboardmanger() class Pin
Maximilien3-Dec-08 3:20
Maximilien3-Dec-08 3:20 
AnswerRe: keyboardmanger() class Pin
Jijo.Raj3-Dec-08 9:27
Jijo.Raj3-Dec-08 9:27 
QuestionDisabling Propery sheet close button Pin
koumodaki3-Dec-08 2:19
koumodaki3-Dec-08 2:19 
AnswerRe: Disabling Propery sheet close button Pin
Nishad S3-Dec-08 3:49
Nishad S3-Dec-08 3:49 
GeneralRe: Disabling Propery sheet close button Pin
koumodaki3-Dec-08 16:57
koumodaki3-Dec-08 16:57 
QuestionWhat is the best way of handling a code like Pin
ComplexLifeForm3-Dec-08 2:02
ComplexLifeForm3-Dec-08 2:02 
AnswerRe: What is the best way of handling a code like Pin
KarstenK3-Dec-08 3:47
mveKarstenK3-Dec-08 3:47 
QuestionGeneric report writer VC++ Pin
Member 2755193-Dec-08 1:11
Member 2755193-Dec-08 1:11 
AnswerRe: Generic report writer VC++ Pin
Nishad S3-Dec-08 3:53
Nishad S3-Dec-08 3:53 
GeneralRe: Generic report writer VC++ Pin
Member 2755194-Dec-08 3:15
Member 2755194-Dec-08 3:15 
GeneralRe: Generic report writer VC++ Pin
Nishad S4-Dec-08 3:20
Nishad S4-Dec-08 3:20 

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.