Source ip/host?
Closed this issue · 1 comments
jvijay-work commented
In the following code provided in the examples, how to get the client ip/host which generated the outTxt
// get the resp channel for each client
for resp := range respChan {
// in case of the connectivity issue to client
if err := resp.Err(); err != nil {
log.Println(err)
continue
}
// get the returned data from client
outTxt, errTxt, err := resp.GetText(vs)
mehrdadrad commented
host := resp.ID()