how to write a tcp proxy?

后端 未结 1 1898
傲寒
傲寒 2021-01-07 09:16

I am curious about the tcp proxy implementation.

Can you give me some tips about how to understand and develop a naive version

相关标签:
1条回答
  • 2021-01-07 09:37

    Building a well working proxy is no simple task as you will have to understand and handle several protocols etc. in both directions...

    I would recommend to either use an existing library for that OR some configurable proxy...

    • http://www.mentalis.org/soft/projects/proxy/ (with source)
    • http://fusion.corsis.eu/ (with source)
    • http://www.wingate.com/
    • http://www.squid-cache.org/
    0 讨论(0)
提交回复
热议问题