pin / tftp

TFTP server and client library for Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I get a remote IP in handler ?

hel2o opened this issue · comments

commented

This is my code, but I am getting an error.
default
default

commented

try:
raddr := wt.(tftp.IncomingTransfer).RemoteAddr()
fmt.Printf(........raddr.String())