Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralApplication Closing Pin
Micheal John23-Jan-02 0:33
Micheal John23-Jan-02 0:33 
GeneralRe: Application Closing Pin
Vladimir Georgiev23-Jan-02 1:15
Vladimir Georgiev23-Jan-02 1:15 
GeneralRe: Application Closing Pin
NormDroid23-Jan-02 4:38
professionalNormDroid23-Jan-02 4:38 
GeneralDynamic resource Declaration Pin
User 2674023-Jan-02 0:00
professionalUser 2674023-Jan-02 0:00 
GeneralProgrammatically adding route (CreateIPForwardEntry) Pin
Martijn22-Jan-02 21:54
Martijn22-Jan-02 21:54 
GeneralRe: Programmatically adding route (CreateIPForwardEntry) Pin
Jon Hulatt22-Jan-02 22:51
Jon Hulatt22-Jan-02 22:51 
GeneralRe: Programmatically adding route (CreateIPForwardEntry) Pin
Martijn22-Jan-02 23:09
Martijn22-Jan-02 23:09 
GeneralRe: Programmatically adding route (CreateIPForwardEntry) Pin
Jon Hulatt22-Jan-02 23:32
Jon Hulatt22-Jan-02 23:32 
if 172.31.64.9 knows how to route to 172.0.0.0/24, then DHCP will have given a mask of 255.0.0.0 to go with that address. If it did, then yay, your routing works already. If it didn't then trying to manually make a route to that net on that interface won't work.

--- your manual route says that 172.31.64.9 can address the whole of 172.0.0.0
--- your DHCP assigned mask (eg. 255.255.255.0) doesn't agree, hence a conflict.

You can never specify explicit routing rules for local interfaces. IP knows how to route to these already, becuase of their netmask.

The above only applies if you have a single interface.

But, if your DHCP assigned address (172.31.64.9/255.255.255.0) came with a default gateway allocation (eg 172.31.64.254), then you can probably route the whole of 172.0.0.0 to that. eg "route add 172.0.0.0 mask 255.0.0.0 172.31.64.254". That would work.



Sorry to dissapoint you all with my lack of a witty or poignant signature.
GeneralRe: Programmatically adding route (CreateIPForwardEntry) Pin
Martijn23-Jan-02 0:58
Martijn23-Jan-02 0:58 
GeneralRe: Programmatically adding route (CreateIPForwardEntry) Pin
Jon Hulatt23-Jan-02 1:04
Jon Hulatt23-Jan-02 1:04 
GeneralRe: Programmatically adding route (CreateIPForwardEntry) Pin
Martijn23-Jan-02 1:12
Martijn23-Jan-02 1:12 
QuestionIs there anybody who knows how to program using the BHO(Browser helper object)? Pin
gropex22-Jan-02 18:39
gropex22-Jan-02 18:39 
AnswerRe: Is there anybody who knows how to program using the BHO(Browser helper object)? Pin
Michael P Butler23-Jan-02 0:50
Michael P Butler23-Jan-02 0:50 
GeneralCAsyncSocket trouble Pin
Craig S22-Jan-02 18:31
Craig S22-Jan-02 18:31 
GeneralService - CreateService Pin
22-Jan-02 12:44
suss22-Jan-02 12:44 
GeneralRe: Service - CreateService Pin
Michael Dunn22-Jan-02 13:04
sitebuilderMichael Dunn22-Jan-02 13:04 
GeneralMulitline Edit Box on a Wizard Pin
RK_200022-Jan-02 10:51
RK_200022-Jan-02 10:51 
GeneralMS Agents in C++ Pin
MaTrIX2k222-Jan-02 10:45
MaTrIX2k222-Jan-02 10:45 
GeneralRe: MS Agents in C++ Pin
Michael P Butler23-Jan-02 0:56
Michael P Butler23-Jan-02 0:56 
GeneralCSplitterWnd Question Pin
borland22-Jan-02 10:34
borland22-Jan-02 10:34 
GeneralRe: CSplitterWnd Question Pin
borland22-Jan-02 17:05
borland22-Jan-02 17:05 
GeneralRe: CSplitterWnd Question Pin
Jonnie White23-Jan-02 0:45
Jonnie White23-Jan-02 0:45 
GeneralRe: CSplitterWnd Question Pin
borland23-Jan-02 2:34
borland23-Jan-02 2:34 
GeneralGDI+ Pin
AJ12322-Jan-02 10:29
AJ12322-Jan-02 10:29 
GeneralRe: GDI+ Pin
Christian Graus22-Jan-02 10:35
protectorChristian Graus22-Jan-02 10:35 

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.