The netbuf_getc function retrieves a character from the cursor position of the network buffer specified by b.
netbuf_getc(netbuf b);
The integer representing the character if one was retrieved, or the constant IO_EOF or IO_ERROR for end of file or error.
netbuf b is the buffer from which to retrieve one character.