Open chayleaf opened 1 year ago
@chayleaf: I've created a basic TCP/IP stack for Narrowlink, currently in a somewhat unstable state but functioning adequately. I invite you to review it and contribute if you're interested until this issue gets merged. https://github.com/narrowlink/ipstack
For VPN/proxy-like programs, it's useful to listen to all traffic on all ports. For example, see this library. I'm currently using it, but it would be nice to be able to use smoltcp for this use case as well.
How this would be implemented:
recv_to
andsend_from
functions can be added, as UDP is a relatively simple protocol.