mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
613 B
36 lines
613 B
7 years ago
|
package net
|
||
|
|
||
|
import "net"
|
||
|
|
||
|
var DialTCP = net.DialTCP
|
||
|
var DialUDP = net.DialUDP
|
||
|
|
||
|
var Listen = net.Listen
|
||
|
var ListenTCP = net.ListenTCP
|
||
|
var ListenUDP = net.ListenUDP
|
||
|
|
||
|
var LookupIP = net.LookupIP
|
||
|
|
||
|
var SplitHostPort = net.SplitHostPort
|
||
|
|
||
|
type Addr = net.Addr
|
||
|
type Conn = net.Conn
|
||
|
|
||
|
type TCPAddr = net.TCPAddr
|
||
|
type TCPConn = net.TCPConn
|
||
|
|
||
|
type UDPAddr = net.UDPAddr
|
||
|
type UDPConn = net.UDPConn
|
||
|
|
||
|
type UnixConn = net.UnixConn
|
||
|
|
||
|
type IP = net.IP
|
||
|
|
||
|
type Error = net.Error
|
||
|
type AddrError = net.AddrError
|
||
|
|
||
|
type Dialer = net.Dialer
|
||
|
type Listener = net.Listener
|
||
|
type TCPListener = net.TCPListener
|
||
|
type UDPListener = net.UDPListener
|