Click here to Skip to main content
15,905,073 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Detect screen resolution change Pin
Randor 6-Jun-09 23:26
professional Randor 6-Jun-09 23:26 
AnswerRe: Detect screen resolution change Pin
molesworth6-Jun-09 23:36
molesworth6-Jun-09 23:36 
QuestionMP4 conversion in directshow Pin
john3466-Jun-09 9:43
john3466-Jun-09 9:43 
AnswerRe: MP4 conversion in directshow Pin
«_Superman_»6-Jun-09 19:29
professional«_Superman_»6-Jun-09 19:29 
QuestionBSTR with embedded NULL char ???? Pin
komofilms776-Jun-09 7:07
komofilms776-Jun-09 7:07 
AnswerRe: BSTR with embedded NULL char ???? Pin
Stuart Dootson6-Jun-09 9:09
professionalStuart Dootson6-Jun-09 9:09 
AnswerRe: BSTR with embedded NULL char ???? Pin
Wang Xinhong6-Jun-09 10:13
Wang Xinhong6-Jun-09 10:13 
QuestionVc 2008 application deployment Pin
Bilge Kaan6-Jun-09 5:35
Bilge Kaan6-Jun-09 5:35 
AnswerRe: Vc 2008 application deployment Pin
Randor 6-Jun-09 5:41
professional Randor 6-Jun-09 5:41 
GeneralRe: Vc 2008 application deployment Pin
Bilge Kaan6-Jun-09 5:48
Bilge Kaan6-Jun-09 5:48 
GeneralRe: Vc 2008 application deployment Pin
Randor 6-Jun-09 5:58
professional Randor 6-Jun-09 5:58 
Questionabout linker error in the C code of CSmtp_v1_5 (unable to compile the main.cpp file due to linker error) Pin
WindowsVsLinux6-Jun-09 4:32
WindowsVsLinux6-Jun-09 4:32 
AnswerRe: about linker error in the C code of CSmtp_v1_5 (unable to compile the main.cpp file due to linker error) Pin
Stuart Dootson6-Jun-09 7:06
professionalStuart Dootson6-Jun-09 7:06 
QuestionHow to upload multiple image? Pin
shyampasari6-Jun-09 3:28
shyampasari6-Jun-09 3:28 
AnswerRe: How to upload multiple image? Pin
Stuart Dootson6-Jun-09 3:48
professionalStuart Dootson6-Jun-09 3:48 
QuestionRe: How to upload multiple image? Pin
shyampasari6-Jun-09 3:52
shyampasari6-Jun-09 3:52 
AnswerRe: How to upload multiple image? Pin
Stuart Dootson6-Jun-09 7:02
professionalStuart Dootson6-Jun-09 7:02 
QuestionRe: How to upload multiple image? Pin
shyampasari7-Jun-09 0:06
shyampasari7-Jun-09 0:06 
QuestionSetWindowForeground Pin
sashoalm6-Jun-09 3:13
sashoalm6-Jun-09 3:13 
AnswerRe: SetWindowForeground Pin
Stuart Dootson6-Jun-09 3:46
professionalStuart Dootson6-Jun-09 3:46 
GeneralRe: SetWindowForeground Pin
sashoalm6-Jun-09 4:02
sashoalm6-Jun-09 4:02 
GeneralRe: SetWindowForeground Pin
sashoalm6-Jun-09 4:30
sashoalm6-Jun-09 4:30 
QuestionSwitch Pin
navneet19856-Jun-09 1:35
navneet19856-Jun-09 1:35 
AnswerRe: Switch Pin
Randor 6-Jun-09 4:57
professional Randor 6-Jun-09 4:57 
I worked on a problem at my previous employer where the switch CAM table[^] was not being updated during high-load network traffic. When we unplugged a CAT-5 cable and moved it to another port, the switch was still routing packets to the old port with nothing plugged in. Perhaps you are having a similar problem?

navneet1985 wrote:

Can ping the system helps me?


Possibly but maybe not. Its difficult to explain but I can try. There are several scenarios to consider:

1.) If the computer your sending the ICMP packet from already has MAC entry in its ARP cache then it will send the packet with the destinatation set as the MAC address in the ARP cache. If the network switch does not have an entry for the MAC address inside the CAM table the packet will be dropped/ignored, switches do not ARP for you.

2.) If the cam-table on the network switch has a MAC entry but for some reason it is incorrectly mapped/poisoned then the network packet will be incorrectly routed.

3.) If the computer your sending the ICMP packet from does NOT have an entry in its ARP cache, the operating system will send an ARP request for you. The ARP response from the remote machine *should* update the cam table in the network switch.

Essentially the network switch will simply perform a lookup in its internal CAM table and route the ICMP packet to whatever port it associates with the MAC address. It updates this entry when it sees an ARP packet.

I would recommend manually sending an ARP request[^] and ask for the MAC address. When the switch recognizes the ARP resonse packet it should update the CAM-table with the new MAC address.

During my experiments with various switches I noticed that some of them would not update the CAM-table during extremely high network traffic. Not all switches are created equal, you get what you pay for... the switches which exibited this behavior were all unmanaged inexpensive "dumb switches".

Hope this helps,
-David Delaune
QuestionHow to drag and drop between CListView and CScrollView? Pin
akira325-Jun-09 23:54
akira325-Jun-09 23:54 

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.