Pergunta

I'm looking for a library to add a socks proxy option to a C/C++ program. What libraries are available for unix and what is the best way to achieve this?

The solution should:

  • be considered best practice (safe)
  • work in multi-threaded programs with short single-threaded connections
  • easy to implement / maintain (if possible)
  • work for unix (linux/debian/ubuntu)

Found a lot of information on the internet but nothing specific, and don't know what to use or when to use it.

Foi útil?

Solução

I do recommend:

Both are multiplatform and very good libraries, but Qt is for GUIs more than a simple library, so think about using libboost for this single purpose.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top