Advertisement

Hooking Winsock?

Started by May 27, 2001 10:16 AM
0 comments, last by Crocmort 23 years, 8 months ago
I was wondering if it''s possible to hook or to see the connections currently working on a computer with a window API? I would like to know where for example a person is going on the net, what he is downloading ect.
There is no simple way to do this.

The preferred way is write a WinSock layered service provider. Network Programming for Microsoft Windows covers this.

If you have a checked build of the operating system, you can write a DLL, and WinSock will call functions in the DLL everytime a WinSock function is called. There''s a sample in the Platform SDK on how to do this.

This topic is closed to new replies.

Advertisement