Network I/O functions provide platform-independent, thread-safe network I/O routines. These routines work with SSL when it’s enabled.
netbuf_grab reads from a network buffer’s socket into the network buffer.
netbuf_getc gets a character from a network buffer.
net_flush flushes buffered data.
net_read reads bytes from a specified socket into a specified buffer.
net_sendfile sends the contents of a specified file to a specified a socket.
net_write writes to the network socket.