Low level socket programming in Elixir

To add some context, I was trying to replicate Networking Lab: Ethernet Broadcast Domains in elixir, the code in there uses python