New static functions for reading and writing on file descriptors without create a socket object