「EINVAL The dest_len argument is not a valid length for the address family.」
你给 sendto 传的地址长度是 0(没有设置)。
另外,Linux 不建议使用 bzero,「CONFORMING TO 4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use memset(3) in new programs. POSIX.1-2008 removes the specification of bzero().」
Windows 上没有这个函数。