-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to tune the TTL? #31
Comments
for future implementation: https://pkg.go.dev/golang.org/x/net/ipv4#PacketConn.SetTTL from https://openconnectivity.org/upnp-specs/UPnP-arch-DeviceArchitecture-v2.0-20200417.pdf
|
TTL is not mentioned in https://datatracker.ietf.org/doc/html/draft-cai-ssdp-v1-03 which this package referenced. |
It looks like reasonable that make default TTL is 2 and configurable. |
|
I don't see any way to set the TTL on the connection from outside of this module. The spec[1] says the default value should be 2 for everything except
M-SEARCH
response, but I don't seeSetTTL()
fromipv4.PacketConn
called at all.[1] https://openconnectivity.org/upnp-specs/UPnP-arch-DeviceArchitecture-v2.0-20200417.pdf
The text was updated successfully, but these errors were encountered: