You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to check Telnet server is running or not in my project. I am testing on Docker image. I used DialTo() function with passing address like 127.0.0.1:23. It seems perfect when I check as just below:
_, err:=telnet.DialTo("127.0.0.1:23")
iferr!=nil {
log.Fatalln("error while connecting Telnet server:", err)
}
fmt.Println("Telnet server is running...")
Program prints out Telnet server is running.... Then, I tried another port, but not Telnet server, Redis's port. I changed the address with 127.0.0.1:6378. And, it still works. I think this is not appropriate way to implement this client. I just want to talk with Telnet server and its ports, not other servers and their ports. Is there any way to solve that problem with this package? If there is not, I'd like to try add this feature with your helps.
The text was updated successfully, but these errors were encountered:
I try to check Telnet server is running or not in my project. I am testing on Docker image. I used
DialTo()
function with passing address like127.0.0.1:23
. It seems perfect when I check as just below:Program prints out
Telnet server is running...
. Then, I tried another port, but not Telnet server, Redis's port. I changed the address with127.0.0.1:6378
. And, it still works. I think this is not appropriate way to implement this client. I just want to talk with Telnet server and its ports, not other servers and their ports. Is there any way to solve that problem with this package? If there is not, I'd like to try add this feature with your helps.The text was updated successfully, but these errors were encountered: