Hi all -

 I'm trying to connect to ptp4l socket (/var/run/ptp4l) to collect stats 
for PTP delay and RMS.

 current code/snippet allows me to connect :


     conn,err := net.Dial("unixgram","/var/run/ptp")  


 but i cannot write properly to the connection (conn). I seem to get an 
unexpected AF_UNSPEC instead of AF_LOCAL and the ptp4l daemon running 
/var/run/ptp4l socket does not return expected data.

 1. Has anyone worked with Unix Domain Sockets while trying to connect to 
the ptp4l implementation of PTP ?
 2. Do i need to implement some kind of socket to socket connection instead 
of trying to talk directly to the /var/run/ptp4l socket?

Regards,

Liam

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to