Skip to content

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

Merged
dizda merged 1 commit intodizda:masterfrom
XOR-op:master
Feb 6, 2025
Merged

Improvement: add use_socket() and variants to Socks5Datagram#30
dizda merged 1 commit intodizda:masterfrom
XOR-op:master

Conversation

@XOR-op
Copy link
Copy Markdown
Contributor

@XOR-op XOR-op commented Dec 21, 2022

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.

@dizda
Copy link
Copy Markdown
Owner

dizda commented Feb 6, 2025

@valpackett wdyt of this?

@valpackett
Copy link
Copy Markdown
Contributor

Definitely reasonable.

@dizda dizda merged commit 13b41f0 into dizda:master Feb 6, 2025
@dizda
Copy link
Copy Markdown
Owner

dizda commented Feb 6, 2025

Merged into master, thanks @XOR-op

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants