0.3.6 - announce packet creation

This commit is contained in:
Sudo-Ivan
2025-01-02 14:10:31 -06:00
parent d79406e354
commit ea8daf6bb2
3 changed files with 52 additions and 76 deletions

View File

@@ -340,13 +340,12 @@ func main() {
debugLog(1, "Goodbye!")
}
// Update transportWrapper to use packet.Packet
type transportWrapper struct {
*transport.Transport
}
func (tw *transportWrapper) GetRTT() float64 {
return 0.1 // Default value for now
return 0.1
}
func (tw *transportWrapper) RTT() float64 {