• Steven Allen's avatar
    fix windows support · 824c4592
    Steven Allen authored
    1. Switch back to the syscall package for errors. That way, we get consistent
       errors on all platforms.
    2. Use `sys/windows` where appropriate.
    3. Export type aliases for the *Sockaddr* types. That way, we can use the
       platform-specific types but call them the same name, regardless of platform.
    824c4592
net_linux.go 641 Bytes