Solved

Outgoing Connections

Posted on 2004-04-25
11
213 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
  • 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
 
LVL 1

Author Comment

by:spearman123
ID: 10912848
oh okaycool. tryiong now
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
  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 …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now