Solved

WSOCK32 API intercept

Posted on 1997-10-23
4
453 Views
Last Modified: 2013-12-23
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.
0
Comment
Question by:andre_c
  • 2
4 Comments
 

Author Comment

by:andre_c
ID: 1549584
Edited text of question
0
 
LVL 4

Expert Comment

by:tflai
ID: 1549585
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
 

Author Comment

by:andre_c
ID: 1549586
Adjusted points to 200
0
 
LVL 32

Accepted Solution

by:
jhance earned 200 total points
ID: 1549587
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

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now