In C it's possible to setsockopt IP_PKTINFO. Is there any way to get the destination address of the underlying IP packet in GO?
_, addr, err := d.conn.ReadFromUDP(buf)
In C it's possible to setsockopt IP_PKTINFO. Is there any way to get the destination address of the underlying IP packet in GO?
_, addr, err := d.conn.ReadFromUDP(buf)