Add ipc module

This commit is contained in:
Alexander Heldt
2025-11-09 21:29:59 +01:00
parent 3251ba433d
commit df8692ed4d
2 changed files with 70 additions and 0 deletions

8
src/ipc_ffi.erl Normal file
View File

@@ -0,0 +1,8 @@
-module(ipc_ffi).
-export([send/2]).
send(Socket, Packet) ->
case gen_tcp:send(Socket, Packet) of
ok -> {ok, nil};
Res -> Res
end.