title: golang get udp socket buffer size
body: <p>I'm writing a udp client and set udp socket send buffer by SetWriteBuffer. </p>
  
  <pre><code>   addr, _ := net.ResolveUDPAddr("udp", ":8089")
     conn, err :=net.DialUDP("udp", nil, addr)  
     err =conn.SetWriteBuffer(64*1024*1024)
  </code></pre>
  
  <p>as above, how can I test set the value is effective or get the send buffer value after  call SetWriteBuffer function.<br>
  Thank you all.</p>