I'd like help finding a library that adds SOCKS5 server functionality to my program. Please note, I do not want to connect to a SOCKS proxy server; rather, I want to actually run a SOCKS proxy server within my program.
While there appears to be many SOCKS servers, they certainly were not built with the intention of being used as libraries. As such, please do not list SOCKS5 servers, unless they have exposed some sort of API to make it usable as a library. Beyond that, I need it to be open source, cross-platform, and written in C/C++.
The only one I've found meeting this criteria is called Antinat, but the last update on sourceforge was in 2005 and, according to the README file, has a bug that messes up UDP proxying on OSX, making it unusable for me.