mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-10 00:42:10 +00:00
11 lines
149 B
Go
11 lines
149 B
Go
package internet
|
|
|
|
func isTCPSocket(network string) bool {
|
|
switch network {
|
|
case "tcp", "tcp4", "tcp6":
|
|
return true
|
|
default:
|
|
return false
|
|
}
|
|
}
|