Click here to Skip to main content
15,912,504 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalpublic data members Pin
elephantstar10-Aug-04 20:34
elephantstar10-Aug-04 20:34 
QuestionIs User Active ? Pin
Amarelia10-Aug-04 19:47
Amarelia10-Aug-04 19:47 
AnswerRe: Is User Active ? Pin
Antony M Kancidrowski11-Aug-04 0:07
Antony M Kancidrowski11-Aug-04 0:07 
AnswerRe: Is User Active ? Pin
Antony M Kancidrowski12-Aug-04 7:48
Antony M Kancidrowski12-Aug-04 7:48 
Generalplease show me some example of CBrush::CreateBrushIndirect() Pin
learnvc10-Aug-04 19:47
learnvc10-Aug-04 19:47 
Generalvectors and assert Pin
Tyrus18210-Aug-04 19:41
Tyrus18210-Aug-04 19:41 
GeneralRe: vectors and assert Pin
V.10-Aug-04 20:43
professionalV.10-Aug-04 20:43 
GeneralRe: vectors and assert Pin
Dudi Avramov10-Aug-04 22:53
Dudi Avramov10-Aug-04 22:53 
GeneralRe: vectors and assert Pin
Mike Beckerleg10-Aug-04 22:59
Mike Beckerleg10-Aug-04 22:59 
GeneralExcel Pin
Rassul Yunussov10-Aug-04 19:27
Rassul Yunussov10-Aug-04 19:27 
GeneralRe: Excel Pin
Aamir Butt10-Aug-04 20:35
Aamir Butt10-Aug-04 20:35 
GeneralNetwork applcation in C++ Pin
A Khan10-Aug-04 19:16
sussA Khan10-Aug-04 19:16 
GeneralRe: Network applcation in C++ Pin
4apai10-Aug-04 22:35
4apai10-Aug-04 22:35 
GeneralRe: Network applcation in C++ Pin
A Khan11-Aug-04 1:35
sussA Khan11-Aug-04 1:35 
GeneralRe: Network applcation in C++ Pin
4apai11-Aug-04 3:27
4apai11-Aug-04 3:27 
GeneralRe: Network applcation in C++ Pin
Antony M Kancidrowski10-Aug-04 23:52
Antony M Kancidrowski10-Aug-04 23:52 
GeneralRe: Network applcation in C++ Pin
A Khan11-Aug-04 1:43
sussA Khan11-Aug-04 1:43 
GeneralRe: Network applcation in C++ Pin
Antony M Kancidrowski11-Aug-04 2:50
Antony M Kancidrowski11-Aug-04 2:50 
WinPcap works by binding to a NIC in promiscuous mode. This allows the driver to see all packets that the NIC sees i.e. all packets that your computer sees.

In order to see all packets that another computer sees you need to run WinPcap on that machine (at least in a remote agent capacity). It isn't sufficient just to expect your machine to see the packets from the other machine. (See previous reply with regards to switched networks).

If it is proof of concept that you need to show your boss it can be done for the local NIC. The principles are the same for local and remote.

Writing network monitoring applications takes time and understanding of networks. Generally they are not something that can be written in a couple of days (though drivers like WinPcap help speed up development vastly). You may want to look at the RFC's for IP (RFC 791)[^], TCP (RFC 793)[^] and UDP (RFC 768)[^]. This will give you some understanding of the structure of IP packets.


Ant.

I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!
- David Williams (Little Britain)

GeneralRe: Network applcation in C++ Pin
A Khan11-Aug-04 19:15
sussA Khan11-Aug-04 19:15 
GeneralRe: Network applcation in C++ Pin
A Khan11-Aug-04 19:29
sussA Khan11-Aug-04 19:29 
GeneralRe: Network applcation in C++ Pin
Antony M Kancidrowski12-Aug-04 7:53
Antony M Kancidrowski12-Aug-04 7:53 
Questionhow do we change the Background Color Of the Label Pin
pubududilena10-Aug-04 18:31
pubududilena10-Aug-04 18:31 
AnswerRe: how do we change the Background Color Of the Label Pin
Aamir Butt10-Aug-04 20:43
Aamir Butt10-Aug-04 20:43 
GeneralSwitching Splitter Views Help Pin
V Farkas10-Aug-04 18:22
sussV Farkas10-Aug-04 18:22 
GeneralCreatig Dlls. Pin
Zero_One_ADO10-Aug-04 17:18
Zero_One_ADO10-Aug-04 17:18 

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.