Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi eternalnetworker,

A few days ago I found your project (Developing a SOHO HTTP filter step by step) and I did try to make it compatible for WinXP & WinVista but it seems to be not working. By checking the comments I found that you mentioned it already that it isn't possible to get it working on WinXP.

The error I get from sendto is:

WSAEINTR (10004):

Interrupted function call.
A blocking operation was interrupted by a call to WSACancelBlockingCall

I did continue reading and I found that:

The WSACancelBlockingCall function has been removed in compliance with the Windows Sockets 2 specification, revision 2.2.0.
The function is not exported directly by WS2_32.DLL and Windows Sockets 2 applications should not use this function. Windows Sockets 1.1 applications that call this function are still supported through the WINSOCK.DLL and WSOCK32.DLL.
Blocking hooks are generally used to keep a single-threaded GUI application responsive during calls to blocking functions. Instead of using blocking hooks, an applications should use a separate thread (separate from the main GUI thread) for network activity.

So it seems like it would be possible to "transform" it at least for WinXP.

What is your opinion?

sincerely

Marc
Posted
Comments
Peter_in_2780 8-Jul-10 20:35pm    
Marc,
This question (a good one) would be better directed to the original article you mention. If it's a CP article, there is a "Comments and Discussion" section at the bottom of the article. If it's from somewhere else, check there.
...P

1 solution

It looks like you want to ask this question to an author related to his/her article.

I would suggest you to please use the forum present at the end of the article in order to reach author and get quick response. Rarely you will find authors reading this forum.

Please post the same at the article's message forum. :thumbsup:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900