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 7442182 commit ef1cb07Copy full SHA for ef1cb07
src/unix/mod.rs
@@ -224,10 +224,10 @@ pub const IPPROTO_UDP: ::c_int = 17;
224
pub const IPPROTO_IP: ::c_int = 0;
225
pub const IPPROTO_IPV6: ::c_int = 41;
226
227
-pub const INADDR_LOOPBACK: ::c_int = 2130706433;
228
-pub const INADDR_ANY: ::c_int = 0;
229
-pub const INADDR_BROADCAST: ::c_int = 4294967295;
230
-pub const INADDR_NONE: ::c_int = 4294967295;
+pub const INADDR_LOOPBACK: in_addr_t = 2130706433;
+pub const INADDR_ANY: in_addr_t = 0;
+pub const INADDR_BROADCAST: in_addr_t = 4294967295;
+pub const INADDR_NONE: in_addr_t = 4294967295;
231
232
cfg_if! {
233
if #[cfg(dox)] {
0 commit comments