A basic proxy demonstrating traffic redirection (port to host/port) using callback techniques with socket select/read/write. Routing is configured via a config file.
Important: This is a practical example focused on illustrating the callback pattern, not a performance-oriented proxy.
Configuration example: Redirects traffic from localhost:8080 to localhost:22.
port: 8080
route: localhost localhost:22
Test with ssh client:
ssh -p 8080 localhost