Link to home
Start Free TrialLog in
Avatar of spearman123
spearman123

asked on

Outgoing Connections

I want to log all outgoing connections on port 80. Basically if my webbrowser goes to www.google.com i want to show up www.google.com in my program. any ideas?
Avatar of jkr
jkr
Flag of Germany image

If you are on Win32, you could use a Winsock layered Service to do that: See http://www.microsoft.com/msj/0599/layeredservice/layeredservice.htm ("Unraveling the Mysteries of Writing a Winsock 2 Layered Service Provider")
Avatar of spearman123
spearman123

ASKER

Is there a way to do this in a console program? I have not learned Windows programming yet, only to a console window
>>Is there a way to do this in a console program?

Sure. It makes no difference whether you use that in a console or GUI app.
oh okaycool. tryiong now
okay.. got lost.. is there any exxample I can use to look at?
The article comes with sample code, the link is right at the top: http://download.microsoft.com/download/0/6/7/0678184e-905e-4783-9511-d4dca1f492b4/layered.exe
yeah i got that.. its just a bunch of .cpp and .h files and the readme doesnt help me.. i dont know like what i need to use and stuff
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ugh