try out NUTSS
This commit is contained in:
parent
3f27102e20
commit
b7837c43e6
|
@ -165,7 +165,7 @@ proc punchHole(punchdConn: PunchdConnection, serverConn: ServerConnection,
|
||||||
let myPorts = serverConn.publicPorts.join(",")
|
let myPorts = serverConn.publicPorts.join(",")
|
||||||
let peerPorts = peerInfo.ports.join(",")
|
let peerPorts = peerInfo.ports.join(",")
|
||||||
let req = &"{serverConn.publicIp}|{myPorts}|{peerInfo.ip}|{peerPorts}"
|
let req = &"{serverConn.publicIp}|{myPorts}|{peerInfo.ip}|{peerPorts}"
|
||||||
let pResp = await punchdConn.sendRequest("tcp-syni-connect", req, progressCb)
|
let pResp = await punchdConn.sendRequest("tcp-nutss-initiate", req, progressCb)
|
||||||
result = pResp.sock
|
result = pResp.sock
|
||||||
|
|
||||||
proc initServerConnection(serverHostname: string, serverPort: Port,
|
proc initServerConnection(serverHostname: string, serverPort: Port,
|
||||||
|
|
Loading…
Reference in New Issue