• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 363
  • Last Modified:

EtcProtocol (download needed)

I know I am not the first who's asked this question. People, who has EtcProtocol MS example for download. It used to be on SoftLib ftp site.
Thanks.
0
scuba_driver
Asked:
scuba_driver
  • 6
  • 4
1 Solution
 
jkrCommented:
Are you looking for the one mentioned in http://www.microsoft.com/mind/defaulttop.asp?page=/mind/0199/cutting/cutting0199.htm&nav=/mind/0199/inthisissuecolumns0199.htm ? MS seems to have removed the KB article, but maybe the above article is helpful...

Check also http://codeguru.com/atl/asyncpp.shtml
0
 
scuba_driverAuthor Commented:
Thanks jkr,

I have everything available from MSDN, Web and Groups. All existing examles are originate from the same source - EtcProtocol sample. I wanted to see what the original looks like.
I was trying to add pluggable protocol to MFC app in order to capture HTTPS headers using RegisterNamespace(). This sh_t is crashing all the time.

 
0
 
DanRollinsCommented:
Microsoft removed the etc protocol sample.  I think there are some good reasons:

1) It is a convoluted mess.
2) It is not a very good example.  All it does is turn around and pull an http file (and does not reveal anything useful, IMHO)
2) It cannot be set up dynamically.  It needs to be registered (in a rather complex way, as I recall)
3) I understand that there is a much better, COM-oriented way to do it (IInternetSession, I think)

but the big reason is...

4) You probably don't really need it, you just think you do.  Why?  If you are hosting a webbrowser in your app, you can intercept each request.  If it starts with etc: (or aqualung: or whatever) then you can take whatever action you want,... including pulling the page yourself and examining the headers.

That said...

I dug up my ancient copy of it and posted it here:

http://home.earthlink.net/~danrollins/ee/EtcProt.exe

-- Dan
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.

 
scuba_driverAuthor Commented:
Yep, you right,
The only inconvinience is "redirections" that are not clearly indicated in WebControl.
I would avoid to use it if I could.
For HTTP I wrote proxy, and it works just fine. But when HTTPS goes into play I am getting "connect" request and the only thing I can do is pipelining sockets with no knowledge about what is inside. I have checked "squid" and they do not know what is going through on HTTPS....
So, the "Pluggable" would be the last resort for me.
Thanks everybody,
Alexei
0
 
scuba_driverAuthor Commented:
Yep, you right,
The only inconvinience is "redirections" that are not clearly indicated in WebControl.
I would avoid to use it if I could.
For HTTP I wrote proxy, and it works just fine. But when HTTPS goes into play I am getting "connect" request and the only thing I can do is pipelining sockets with no knowledge about what is inside. I have checked "squid" and they do not know what is going through on HTTPS....
So, the "Pluggable" would be the last resort for me.
Thanks everybody,
Alexei
0
 
scuba_driverAuthor Commented:
Thanks jkr,

I have everything available from MSDN, Web and Groups. All existing examles are originate from the same source - EtcProtocol sample. I wanted to see what the original looks like.
I was trying to add pluggable protocol to MFC app in order to capture HTTPS headers using RegisterNamespace(). This sh_t is crashing all the time.

 
0
 
DanRollinsCommented:
?

-- Dan
0
 
DanRollinsCommented:
hi scuba_diver.

Do you have any additional questions?  Do any comments need clarification?

-- Dan
0
 
scuba_driverAuthor Commented:
No
0
 
DanRollinsCommented:
>>People, who has EtcProtocol MS example for download.

I answered your question in the most complete way.  It would be impossible for anyone on earth or elsewhere in the Known Universe to provide a more complete answer than I did.  I even went to the trouble of locating the file and posting it on my own personal web site.

So why did you give me a B?

-- Dan
0
 
scuba_driverAuthor Commented:
OK,
Take an A.
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

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

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