Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to operate a control of a parent class? Pin
valikac10-Jun-03 19:24
valikac10-Jun-03 19:24 
GeneralC++ DLL Pin
vbtester10-Jun-03 17:21
vbtester10-Jun-03 17:21 
GeneralRe: C++ DLL Pin
valikac10-Jun-03 19:27
valikac10-Jun-03 19:27 
GeneralRe: C++ DLL Pin
basementman11-Jun-03 4:10
basementman11-Jun-03 4:10 
GeneralRe: C++ DLL Pin
vbtester11-Jun-03 5:02
vbtester11-Jun-03 5:02 
GeneralRe: C++ DLL Pin
vbtester12-Jun-03 7:08
vbtester12-Jun-03 7:08 
GeneralProblem with multiple processes listening on the same UDP port Pin
Taka Muraoka10-Jun-03 15:49
Taka Muraoka10-Jun-03 15:49 
GeneralRe: Problem with multiple processes listening on the same UDP port Pin
Ryan Binns10-Jun-03 18:18
Ryan Binns10-Jun-03 18:18 
Taka Muraoka wrote:
Is this a limitation of UDP or have I missed something?

There are 3 uses of SO_REUSEADDR:

1. Allows a server to listen on an address/port that already has an established connection on it, ie. TCP only.

2. Allows multiple binds on the same port, as long as they use different IP addresses. This works with either multiple processes or one process.

3. Allows completely duplicate binding (same IP address and port), but only if the sockets implementation supports multicasting.

Your situation is the third case. Unfortunately, the Windows Sockets IPv4 implementation does not support multicasting, so the bind will work, but only the first socket to do the bind will receive any datagrams.

In any case, IPv4 only supports multicasting addresses that are from 224.0.0.0 to 239.255.255.255

Hope this helps

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralRe: Problem with multiple processes listening on the same UDP port Pin
Taka Muraoka10-Jun-03 18:22
Taka Muraoka10-Jun-03 18:22 
Generalchecking for unsupported file name characters in an edit control Pin
Steven M Hunt10-Jun-03 15:10
Steven M Hunt10-Jun-03 15:10 
GeneralRe: checking for unsupported file name characters in an edit control Pin
Toni7810-Jun-03 16:58
Toni7810-Jun-03 16:58 
GeneralRe: checking for unsupported file name characters in an edit control Pin
John M. Drescher10-Jun-03 17:22
John M. Drescher10-Jun-03 17:22 
QuestionHow to resize the controls when parent window resize Pin
Bosicat10-Jun-03 15:08
Bosicat10-Jun-03 15:08 
AnswerRe: How to resize the controls when parent window resize Pin
Ryan Binns10-Jun-03 18:19
Ryan Binns10-Jun-03 18:19 
AnswerRe: How to resize the controls when parent window resize Pin
Joan M10-Jun-03 21:13
professionalJoan M10-Jun-03 21:13 
Questionhelp me marshelling related question? Pin
imran_rafique10-Jun-03 14:47
imran_rafique10-Jun-03 14:47 
GeneralDLL Question Pin
Bert Tuyt10-Jun-03 11:28
Bert Tuyt10-Jun-03 11:28 
GeneralSplitter Pin
vadimpl10-Jun-03 11:04
vadimpl10-Jun-03 11:04 
GeneralRe: Splitter Pin
basementman10-Jun-03 11:42
basementman10-Jun-03 11:42 
GeneralMFC open dialog enhancement Pin
IGeorgeI10-Jun-03 10:29
IGeorgeI10-Jun-03 10:29 
GeneralRe: MFC open dialog enhancement Pin
David Crow10-Jun-03 10:39
David Crow10-Jun-03 10:39 
GeneralRe: MFC open dialog enhancement Pin
IGeorgeI10-Jun-03 11:26
IGeorgeI10-Jun-03 11:26 
GeneralCompiler generated assignment operator= question Pin
Damir Valiulin10-Jun-03 9:32
Damir Valiulin10-Jun-03 9:32 
GeneralRe: Compiler generated assignment operator= question Pin
Ryan_Roberts10-Jun-03 9:38
Ryan_Roberts10-Jun-03 9:38 
GeneralRe: Compiler generated assignment operator= question Pin
John M. Drescher10-Jun-03 9:51
John M. Drescher10-Jun-03 9:51 

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.