Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

calculator

how to get the socketid of another program?

This topic is 6274 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

How do i get the socket, socketId, socket handle of another program(VC++). What are the functions that can get the info?

Share this post


Link to post
Share on other sites
Advertisement
Logically, you can''t. Because there is no reason why a program would only use 1 socket. There might be a way of finding out which process created a socket, though.

Share this post


Link to post
Share on other sites
how do you go about doing it? I know the hwnd of the program, the process id of the program, can i use it to find the process of the socket than the socket id?

BTW, i have a program that monitors the socket activities. I did something like intercepting the socket process of all programs that are using sockets. I need some info about the way of getting the socket id ''s and socket handle.

Share this post


Link to post
Share on other sites
how do you go about doing it? I know the hwnd of the program, the process id of the program, can i use it to find the process of the socket than the socket id?

BTW, i have a program that monitors the socket activities. It did something like intercepting the socket process of all programs that are using sockets. I need some info about the way of getting the socket id ''s and socket handle with VC++.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!