telnet tcp->udp, https->http

This commit is contained in:
2023-01-04 22:46:11 +02:00
parent b01b552834
commit 8f39f4e907
9 changed files with 74 additions and 93 deletions

View File

@@ -118,7 +118,7 @@ func (d *telnetClient) remote(addr string) {
buf := [4096]byte{}
clientConn, clientConnErr := d.cfg.Dial("tcp", addr, d.cfg.DialTimeout)
clientConn, clientConnErr := d.cfg.Dial("udp", addr, d.cfg.DialTimeout)
if clientConnErr != nil {
errLen := copy(