WSOCK32 API intercept

Is it possible to hook WSOCK32 API calls, in a pre-emptive
Windows 95 environment ?
If the answer is Yes, could I get a (minimal) sample of source code on how to do this ?
Note: The article on PROCHOOK in MSJ(Jan94) does
only work in a 16-bit environment.
andre_cAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

andre_cAuthor Commented:
Edited text of question
0
tflaiCommented:
This is a tough one.  Currently I'm aware of maybe only two approaches:
1.  There is a  program called MPATH. It is what Quake used to access window's winsock features.  I don't know much about it.  And probably the only source to contact is the company of Quake.
2.  I've done a VxD that grabs MSTCP VxD's entry table.  The functions here are at one level lower than WSOCK32, but you do have access to all TCP and UDP controls.  You just don't have that nice socket interface.
0
andre_cAuthor Commented:
Adjusted points to 200
0
jhanceCommented:
The September 1997 issue of Microsoft System Journal in Matt Pietrek's "Under the Hood" column addresses just this issue.

See http://www.microsoft.com/msj/0997/hood0997.htm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.