/tcpraw

Sending packets through TCP

Primary LanguageGoMIT LicenseMIT

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