Erlang socket module concurrent operations

Reading the doc of the Erlang socket module Erlang -- socket is not clear for me if we can call sendto & recvfrom from different process currently.

It’s reported that: The intent is that it shall be as "close as possible" to the OS level socket interface so this should imply on a Unix system that this two functions are guarantee to be “safe” in a concurrent scenario.

Is this correct? can I call these two functions from two different erlang process?

3 Likes