[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Interprocess communication in Lua scripts
- From: Javier Guerra <javier@...>
- Date: Mon, 21 Aug 2006 12:56:30 -0500
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