Skip to content

Instantly share code, notes, and snippets.

@lpgauth
Created July 5, 2019 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lpgauth/d24d92ed91ff67519d1317ae1044fc92 to your computer and use it in GitHub Desktop.
Save lpgauth/d24d92ed91ff67519d1317ae1044fc92 to your computer and use it in GitHub Desktop.
% according to the code this should work
ok = socket:send(Socket, Data, [], nowait)
=ERROR REPORT==== 5-Jul-2019::12:52:06.740284 ===
Error in process <0.76.0> with exit value:
{badarith,[{erlang,'-',[nowait,0],[]},
{socket,next_timeout,2,[]},
{socket,do_send,4,[]},
{hammer2,send,1,[{file,"hammer2.erl"},{line,25}]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment