olegsp
asked on
Listen to a port
I need to write an app which would listen to a certain port number, used by another program P (both running on my computer), and log all data passing through this port. My app must not interfere with P, and the only reason I need it for is to see what P is sending/receiving at this port.
I do not even know if it's possible. Any suggestions on how I can do this ?
I do not even know if it's possible. Any suggestions on how I can do this ?
I guess, you can use CSocket in the client mode of this purpose. See the documentation in MSDN for CSocket
btw. the new address of codeguru
is:
http://codeguru.developer.com
the old address is no longer available.
regards
kishk91
is:
http://codeguru.developer.com
the old address is no longer available.
regards
kishk91
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.codeguru.com/network/commspy.shtml