mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-09 00:15:48 -07:00
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.
9 lines
244 B
Lua
9 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
|