a8b5498333
The struct sockaddr containing the remote address was being reported rather than the actual sin_addr / sin6_addr fields. Use the ToTypedData utility function to return the real address bytes as a dart list. Before this fix all remote addresses would be reported (on Linux) as 2.0.x.y where 2.0 means IPv4 and x.y are the remote port in big endian, i.e. the first four bytes of struct sockaddr. R=rmacnak@google.com BUG= Review-Url: https://codereview.chromium.org/2665973003 .