8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88c295c commit 9d01ae2Copy full SHA for 9d01ae2
vm/src/stdlib/socket.rs
@@ -643,6 +643,7 @@ pub fn make_module(vm: &VirtualMachine) -> PyObjectRef {
643
"htons" => ctx.new_rustfunc(socket_hton::<u16>),
644
"ntohl" => ctx.new_rustfunc(socket_ntoh::<u32>),
645
"ntohs" => ctx.new_rustfunc(socket_ntoh::<u16>),
646
+ "has_ipv6" => ctx.new_bool(false),
647
"getdefaulttimeout" => ctx.new_rustfunc(|vm: &VirtualMachine| vm.get_none()),
648
"getaddrinfo" => ctx.new_rustfunc(socket_getaddrinfo),
649
"gethostbyaddr" => ctx.new_rustfunc(socket_gethostbyaddr),
0 commit comments