lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Quoting Sam Roberts <sroberts@bycast.com>:

> Should be no harder than os.execute("mkfifo"), and advantage of sockets
> is they clean up after themselves... Unix domain sockets would be what
> you want.

other advantages of sockets over pipes (named or not):

- bidirectional communications (no need for two pipes)
- choice of stream or message based (TCP-like or UDP-like)
- multiple clients on one server socket (using the same listen()/accept() calls
like network sockets)



------
Javier