开发者

Modify,block HTTP connection

i would like t开发者_如何学Pythono write proxy in vc++, which blocks some http requests. Can you please advice me, how to intercept and examinate these requests. What do i need to do this?


Most people would use Winsock for this. There is a load of socket libraries you can check out for alternatives. Qt might be a good option, as well as libcurl, and further a google search for c++ socket library will turn up loads.

On HTTP parsing, there is not so much to choose from I think. There is ry's parser that has some users it seems. Personally I use a modification of this one, which is good for my purpose, but not very robust for security and there is also Wininet, which is probably to basic for firewal purposes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜