Replies: 2 comments 4 replies
-
|
There's an exposed Diallers and Listeners that lets you provide custom socket implementations. I would start there. I will follow up if I look before you do |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Ideally there should be a client option that would somehow be passed all the way down to socket.go that would make the call to setSockOpt on the socket if set to true. Although I can't think of a good implementation of this approach yet. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I would like to ask a question on how it would be best to approach the following task. For the purpose of optimizing throughput and prioritizing P2P traffic in our LAN, we'd like to be able to set the Type-of-Service option for the associated network packets. Here's the C code equivalent of what we'd like to do:
What would be the best place in the library's source code to hook into? Note that the option should be set for both incoming and outgoing traffic.
Would you be interested in providing an out-of-the-box method for doing such thing?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions