mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-06-29 02:35:23 +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
|
|
}
|
|
}
|