Why does VLC use file descriptor in IO?
Posted: 13 May 2011 11:44
Hi,
I notice that VLC uses net_Write() to write data to a file descriptor in "io.c"(src/network/), and then, read file descriptor line by line. Why not just read data from a buffer directly? What is the meaning of file descriptor here?
THX.
I notice that VLC uses net_Write() to write data to a file descriptor in "io.c"(src/network/), and then, read file descriptor line by line. Why not just read data from a buffer directly? What is the meaning of file descriptor here?
THX.