Jump to content
  • Advertisement
Sign in to follow this  
kzar

Intercepting sockets in winsock

This topic is 4725 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is it possible to intercept a socket in winsock? (eg looking at whats being sent / recieved in the socket and sending things myself) If so are there any simple examples about that I can have a look at or any tutorials? I haven't had much luck from searching about.

Share this post


Link to post
Share on other sites
Advertisement
I have been searching alot and it seems that I need to set up a hook with WSASetBlockingHook() but I'm having no luck finding a basic c example to get me started :(

Share this post


Link to post
Share on other sites
Hi,

According to site, the function is not to be made of use with Winsock 2. I do recall trying to use this function myself in the past without success. Maybe someone else could provide you with some more help.

Later,

GCS584

P.S. - MSDN is often of great help

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!