mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 20:37:37 +03:00
Add shadowsocks tests
This commit is contained in:
parent
f448b6b977
commit
7f8c9ffa30
10 changed files with 1063 additions and 2 deletions
|
@ -54,7 +54,7 @@ func (a *myInboundAdapter) Tag() string {
|
|||
}
|
||||
|
||||
func (a *myInboundAdapter) Start() error {
|
||||
bindAddr := M.SocksaddrFromAddrPort(netip.Addr(a.listenOptions.Listen), a.listenOptions.Port)
|
||||
bindAddr := M.SocksaddrFromAddrPort(netip.Addr(a.listenOptions.Listen), a.listenOptions.ListenPort)
|
||||
if common.Contains(a.network, C.NetworkTCP) {
|
||||
var tcpListener *net.TCPListener
|
||||
var err error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue