Solved

WSOCK32 API intercept

Posted on 1997-10-23
4
459 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 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