Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
tcpraw
✓ github.com/xtaci/tcpraw
Dials a raw TCP connection.
package main
import (
"fmt"
"github.com/xtaci/tcpraw"
)
func main() {
conn, err := tcpraw.Dial("tcp", "example.com:80")
if err != nil {
fmt.Println(err)
return
}
defer conn.Close()
fmt.Println("Connected!")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.2.32latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.