net-int read/write bug fixes