Advertisement

how to get the socketid of another program?

Started by July 22, 2001 12:52 PM
2 comments, last by calculator 23 years, 6 months ago
How do i get the socket, socketId, socket handle of another program(VC++). What are the functions that can get the info?
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.
Advertisement
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.
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++.

This topic is closed to new replies.

Advertisement