Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

3RD TIME POST: Winsock Related Question

Status
Not open for further replies.

rjr9999

Programmer
Apr 7, 2001
183
US
I'm trying to find information on monitering and decodeing TCP and UDP packets in either C++ or VB (preferrably C++). It seems every time I post this question it gets passed over. I'm trying to create a quasi-firewall of my own (that is, report when any program tries to send or recieve data, and show that data, then offer the ability to block the information or let it pass). Any help here would be appriciated...and please don't give me references to books on the fundamentals of TCP/IP, I allready have many, what I'm looking for SPECIFICALLY is how to use Winsock to accomplish what I mentioned above.

Thank You,
Rob
"Programming is like art...It makes me feel like chopping my ear off."

- Currently down
 
The reason you are not getting an answer on this is that it is not something a VB program is going to be able to do. Even hooking into Winsock isn't low level enough to do what you want. You need to get involved in a) device drivers (and VB can't really provide those) and [/b]understand[/b] low-level IP protocols (hence the advice about books that you have been getting, and which again are nothing[/b to do with VB)

Please don't get upset with the contributors to this forum; VB is completely the wrong tool to do this with (well, actually once you get a buffer full of IP/UDP traffic, there is an argument that VB could be used to do the decoding, but even so it's a long hard slog...)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top