mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-21 01:26:47 +00:00
2c167153e9
Fixes an issue on macOS Mojave that was patched in fa1c281e79.
The list of changes can be found under
build/premake/premake5/CHANGES.txt.
This was SVN commit r22021.
10 lines
244 B
Lua
10 lines
244 B
Lua
socket = require"socket"
|
|
socket.unix = require"socket.unix"
|
|
u = assert(socket.unix.stream())
|
|
assert(u:bind("/tmp/foo"))
|
|
assert(u:listen())
|
|
c = assert(u:accept())
|
|
while 1 do
|
|
print(assert(c:receive()))
|
|
end
|