参数说明
listen(port, host, maxnum, callback) port 整数 端口号 host 字符串 可选,ip地址,默认"localhost" maxnum 整数 可选,最大客户端连接数量 callback() 函数 可选,监听成功后执行