ipv4可以这样,也可以配置dns后连接域名ok, err = tcpsock:connect(host, port, options_table?)local ok, err = sock:connect("www.google.com", 80)那么ipv6呢....