Created
September 9, 2016 15:11
-
-
Save lemenkov/22c4d621b432c3a27574facddd9862f8 to your computer and use it in GitHub Desktop.
How to write to DGRAM UNIX-socket using Erlang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ok, UnixSock} = gen_udp:open(0, [local]). | |
gen_udp:send(UnixSock, {local, "/dev/log"}, 0, "HELLO"). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment