This job is part of a larger application running under a Visual C++ 6.0/Windows 2000 environment.
I want to be able to monitor the data I am receiving and sending as part of a third party application. This application receives and sends data from my server 24/7 and I want to be informed when and what data THAT APPLICATION is sending.
The purpose of the library is to alert another thread in MY APPLICATION upon sending or receipt of network packets from/to a host. It will store certain data from each packet and this data will be accesible from my application.
The library should be delivered in three files: .h .lib and .dll files. It should be a C++ library not a C library, if you do not understand the difference please do not send a bid.
The .h file contains the interface and constants, and something like
extern INTERFACE NetworkMonitor* pNetworkMonitor;
where NetworkMonitor is a C++ class. Then I initialize the monitor in my application with
there is a SINK class, which will become active in MY application whenever new data is received.
mySinkClass* pSink = new mySinkClass();
mySinkClass is defined in MY source code, but it inherits from a class within the library, say NetMonSink.
the class NetworkMonitor has a data buffer, flushes data automatically upon reading, and has enterRead() / leaveRead() functions to know what data to flush, and also to freeze the buffer (not the monitoring) whenever my application is reading data from NetworkMonitor. When leaveRead() is called, the buffer is either empty or filled with any packet data read within the enterRead()-leaveRead() processing interval. IT IS VERY IMPORTANT NOT TO MISS A SINGLE PACKET.
Of course, there should be functions like
int pNetworkMonitor->getRecord(int n);
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done, including the Visual C++ 6.0 project files.
2) A small demo program. Installation package is not required, just the Visual C++ 6.0 projects, but they should generate EXE and DLLs without further intervention.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
VISUAL C++ 6.0