]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/socket_private.h
Add a dynamic receiver class for more flexible packet handling
[libs/net.git] / source / net / socket_private.h
index 742877b4516514b718a623c0185a025a11ddb66f..bb9eff6f1c280fbce695dbe4afaf37454a7c7845 100644 (file)
@@ -22,11 +22,12 @@ struct Socket::Private
        IO::Handle event;
 
        void set_block(bool);
+       void set_inherit(bool);
        int set_option(int, int, const void *, socklen_t);
        int get_option(int, int, void *, socklen_t *);
 };
 
-unsigned check_sys_error(int, const char *);
+std::size_t check_sys_error(std::make_signed<std::size_t>::type, const char *);
 bool check_sys_connect_error(int);
 
 } // namespace Net