Categorygithub.com/xtaci/tcpraw
modulepackage
1.2.31
Repository: https://github.com/xtaci/tcpraw.git
Documentation: pkg.go.dev

# README

tcpraw

GoDoc Build Status Go Report Card Coverage Statusd MIT licensed

Introduction

A packet-oriented connection by simulating TCP protocol

Features

  1. Tiny
  2. Support IPv4 and IPv6.
  3. Realistic sliding window, NAT friendly.
  4. Pure golang without cgo, available on all architecture.

Documentation

For complete documentation, see the associated Godoc.

Benchmark

goos: linux
goarch: amd64
pkg: github.com/xtaci/tcpraw
BenchmarkEcho-2   	   20000	     93036 ns/op	  11.01 MB/s	    6200 B/op	      62 allocs/op
PASS
ok  	github.com/xtaci/tcpraw	2.758s

Status

Stable

Who is using this

https://github.com/xtaci/kcptun

# Functions

Dial connects to the remote TCP port, and returns a single packet-oriented connection.
No description provided by the author
Listen acts like net.ListenTCP, and returns a single packet-oriented connection.

# Constants

No description provided by the author

# Structs

TCPConn.

# Type aliases

No description provided by the author