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

C / C++ / MFC

 
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 
GeneralRe: Creatig Dlls. Pin
John M. Drescher10-Aug-04 17:46
John M. Drescher10-Aug-04 17:46 
QuestionImpersonateLoggedOnUer() not working in DCOM file ? Pin
Amarelia10-Aug-04 15:13
Amarelia10-Aug-04 15:13 
General[VC++.NET]ShellExecute() wont run file Pin
Anonymous10-Aug-04 15:00
Anonymous10-Aug-04 15:00 
GeneralRe: [VC++.NET]ShellExecute() wont run file Pin
Anonymous10-Aug-04 15:24
Anonymous10-Aug-04 15:24 
GeneralRe: [VC++.NET]ShellExecute() wont run file Pin
4apai10-Aug-04 22:31
4apai10-Aug-04 22:31 
GeneralVC++ and Matlab question Pin
happy noodle grl10-Aug-04 9:26
happy noodle grl10-Aug-04 9:26 
GeneralMicrosoft Development Environment Pin
Red Sunday10-Aug-04 8:43
Red Sunday10-Aug-04 8:43 
GeneralRe: Microsoft Development Environment Pin
Antti Keskinen10-Aug-04 9:54
Antti Keskinen10-Aug-04 9:54 
QuestionUNREFERENCED_VAR macro? Pin
Ravi Bhavnani10-Aug-04 7:29
professionalRavi Bhavnani10-Aug-04 7:29 
AnswerRe: UNREFERENCED_VAR macro? Pin
Maximilien10-Aug-04 7:44
Maximilien10-Aug-04 7:44 

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.