View definition

func ExchangeConn

Defined in


ExchangeConn performs a synchronous query. It sends the message m via the connection c and waits for a reply. The connection c is not closed by ExchangeConn. This function is going away, but can easily be mimicked:

co := &dns.Conn{Conn: c} // c is your net.Conn
in, _  := co.ReadMsg()

ExchangeConn is referenced in 0 repositories