{"id":50449,"library":"valyala-tcplisten","title":"tcplisten","description":"Package tcplisten provides customizable TCP net.Listener with performance options like SO_REUSEPORT.","status":"active","version":"1.0.0","language":"go","source_language":null,"source_url":"https://github.com/valyala/tcplisten","tags":["tcp","listener","reuseport","performance"],"install":[{"cmd":"go get github.com/valyala/tcplisten","lang":"bash","label":"Install github.com/valyala/tcplisten"}],"dependencies":[],"imports":[{"symbol":"tcplisten","correct":"github.com/valyala/tcplisten"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/valyala/tcplisten\"\n)\n\nfunc main() {\n\tln, err := tcplisten.NewListener(\"tcp4\", \":8080\", &tcplisten.Config{\n\t\tReusePort: true,\n\t})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer ln.Close()\n\tfmt.Println(\"Listening on :8080\")\n}","lang":"go","description":"Creates a TCP listener with SO_REUSEPORT enabled."},"warnings":[],"env_vars":null,"search_vec":"'customiz':5 'like':11 'listen':15 'net.listener':7 'option':10 'packag':2 'perform':9,17 'provid':4 'reuseport':13,16 'tcp':6,14 'tcplisten':1,3","created_at":"2026-06-15T04:53:44.235024+00:00","updated_at":"2026-06-15T04:53:44.235024+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/valyala/tcplisten","github":"https://github.com/valyala/tcplisten","docs":"https://pkg.go.dev/github.com/valyala/tcplisten#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}