Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

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?
0
spearman123
Asked:
spearman123
  • 5
  • 4
1 Solution
 
jkrCommented:
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")
0
 
spearman123Author Commented:
Is there a way to do this in a console program? I have not learned Windows programming yet, only to a console window
0
 
jkrCommented:
>>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.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
spearman123Author Commented:
oh okaycool. tryiong now
0
 
spearman123Author Commented:
okay.. got lost.. is there any exxample I can use to look at?
0
 
jkrCommented:
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
0
 
spearman123Author Commented:
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
0
 
jkrCommented:
>> i dont know like what i need to use and stuff

Then you will have to dig through it. What you want to do in non-trivial and requires some work.
0
 
spearman123Author Commented:
ugh
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now