?
Solved

Outgoing Connections

Posted on 2004-04-25
11
Medium Priority
?
219 Views
Last Modified: 2010-04-01
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
Comment
Question by:spearman123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
11 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 10912652
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
 
LVL 1

Author Comment

by:spearman123
ID: 10912763
Is there a way to do this in a console program? I have not learned Windows programming yet, only to a console window
0
 
LVL 86

Expert Comment

by:jkr
ID: 10912801
>>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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:spearman123
ID: 10912848
oh okaycool. tryiong now
0
 
LVL 1

Author Comment

by:spearman123
ID: 10912876
okay.. got lost.. is there any exxample I can use to look at?
0
 
LVL 86

Expert Comment

by:jkr
ID: 10912890
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
 
LVL 1

Author Comment

by:spearman123
ID: 10912997
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
 
LVL 86

Accepted Solution

by:
jkr earned 2000 total points
ID: 10913029
>> 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
 
LVL 1

Author Comment

by:spearman123
ID: 10913324
ugh
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question