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
 
Windows doesn't support raw sockets until you get to Windows XP. You need raw socket support in order to read the low-level packet info. As you've probably discovered by now, that info is hidden from you on NT & 2000.

I think what some of the other vendors do is write a packet filter that runs in protected mode. I've never done this, so I can't really help there.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top