[vlc-devel] [PATCH 2/3] Lua: Remove net.read and net.write functions

Rémi Denis-Courmont remi at remlab.net
Sat Mar 20 23:59:30 CET 2010


----- Message d'origine -----
> As I don't know about this, I can't sign.
> Anyone confirms that read == recv and send == write?

send and recv only work on sockets, whereas write and read work on any kind of file descriptor. That said, VLC net_Read and net_Write use read and write if possible (e.g. so that the Old RC interface can read from pipes and terminals, not just sockets).



More information about the vlc-devel mailing list