dizda / fast-socks5

Fast SOCKS5 client/server implementation written in Rust async/.await (with tokio)
https://anyip.io/
MIT License
340 stars 67 forks source link

Improvement: add use_socket() and variants to Socks5Datagram #30

Open XOR-op opened 1 year ago

XOR-op commented 1 year ago

With these new functions, we can customize the underlying UDP socket, for example, call setsockopt() over the underlying RawFd. This is also the counterpart of Socks5Stream::use_stream.