Movatterモバイル変換


[0]ホーム

URL:


tcpinfo

package
v1.92.2Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License:BSD-3-ClauseImports:4Imported by:2

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Overview

Package tcpinfo provides platform-agnostic accessors to information about aTCP connection (e.g. RTT, MSS, etc.).

Index

Constants

This section is empty.

Variables

View Source
var (ErrNotTCP        =errors.New("tcpinfo: not a TCP conn")ErrUnimplemented =errors.New("tcpinfo: unimplemented"))

Functions

funcRTT

func RTT(connnet.Conn) (time.Duration,error)

RTT returns the RTT for the given net.Conn.

If the net.Conn is not a *net.TCPConn and cannot be unwrapped into one, thenErrNotTCP will be returned. If retrieving the RTT is not supported on thecurrent platform, ErrUnimplemented will be returned.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp