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

C / C++ / MFC

 
QuestionHow to use Timer in win32 dll? Pin
Rahul Vaishnav7-Mar-10 19:35
Rahul Vaishnav7-Mar-10 19:35 
AnswerRe: How to use Timer in win32 dll? [modified] Pin
KingsGambit7-Mar-10 19:51
KingsGambit7-Mar-10 19:51 
AnswerRe: How to use Timer in win32 dll? Pin
Alain Rist7-Mar-10 22:00
Alain Rist7-Mar-10 22:00 
QuestionHow to monitor network traffic for a process Pin
feanorgem7-Mar-10 13:08
feanorgem7-Mar-10 13:08 
AnswerRe: How to monitor network traffic for a process Pin
Garth J Lancaster7-Mar-10 15:00
professionalGarth J Lancaster7-Mar-10 15:00 
AnswerRe: How to monitor network traffic for a process Pin
Garth J Lancaster7-Mar-10 15:06
professionalGarth J Lancaster7-Mar-10 15:06 
GeneralRe: How to monitor network traffic for a process Pin
feanorgem7-Mar-10 18:48
feanorgem7-Mar-10 18:48 
GeneralRe: How to monitor network traffic for a process Pin
Garth J Lancaster7-Mar-10 19:08
professionalGarth J Lancaster7-Mar-10 19:08 
well, I have seen a C# way of doing it but cant remember all the steps to capture packets .. my first thought was also that it could cause performance issues on the local machine at least ...

I think they opened a socket for receive, bound something like IP-Address-Any to it and then received all the packets from the network adaptor, mapping the packet receive to an event that they could monitor/wait for ... when the event was tripped that had a packet obkect they decoded the basic fields from - I just cant remember who did it and what the pitfalls were

Actually David Crow has an article here about GetIPStatistics, the best thing to do is 'suck it and see' - if as a standalone it gives you what you're looking for you could look at including his functionality in your program (and crediting him of course) - see More on using IP Helper API’s[^]

'g'
GeneralRe: How to monitor network traffic for a process Pin
feanorgem8-Mar-10 5:41
feanorgem8-Mar-10 5:41 
AnswerRe: How to monitor network traffic for a process Pin
Stephen Hewitt7-Mar-10 16:12
Stephen Hewitt7-Mar-10 16:12 
GeneralRe: How to monitor network traffic for a process Pin
feanorgem7-Mar-10 18:44
feanorgem7-Mar-10 18:44 
GeneralRe: How to monitor network traffic for a process Pin
Stephen Hewitt7-Mar-10 19:38
Stephen Hewitt7-Mar-10 19:38 
GeneralRe: How to monitor network traffic for a process Pin
feanorgem8-Mar-10 5:12
feanorgem8-Mar-10 5:12 
QuestionMouse down on disabled button Pin
marko20107-Mar-10 6:58
marko20107-Mar-10 6:58 
Answer[Wrong Answer]Re: Mouse down on disabled button [modified] Pin
Avi Berger7-Mar-10 12:42
Avi Berger7-Mar-10 12:42 
GeneralRe: Mouse down on disabled button Pin
LunaticFringe7-Mar-10 22:24
LunaticFringe7-Mar-10 22:24 
GeneralRe: Mouse down on disabled button Pin
Avi Berger8-Mar-10 4:57
Avi Berger8-Mar-10 4:57 
QuestionMessage Removed Pin
7-Mar-10 6:13
MrMcIntyre7-Mar-10 6:13 
AnswerRe: Internet Connection Pin
Emilio Garavaglia7-Mar-10 6:23
Emilio Garavaglia7-Mar-10 6:23 
GeneralRe: Internet Connection Pin
MrMcIntyre7-Mar-10 6:40
MrMcIntyre7-Mar-10 6:40 
AnswerRe: Internet Connection [modified] PinPopular
Avi Berger7-Mar-10 7:59
Avi Berger7-Mar-10 7:59 
GeneralRe: Internet Connection Pin
Richard MacCutchan7-Mar-10 9:52
mveRichard MacCutchan7-Mar-10 9:52 
GeneralRe: Internet Connection Pin
Luc Pattyn7-Mar-10 10:23
sitebuilderLuc Pattyn7-Mar-10 10:23 
JokeRe: Internet Connection Pin
Richard MacCutchan7-Mar-10 10:35
mveRichard MacCutchan7-Mar-10 10:35 
GeneralRe: Internet Connection Pin
Luc Pattyn7-Mar-10 11:13
sitebuilderLuc Pattyn7-Mar-10 11:13 

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.