Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
callback_next_step(Args) when Args#args.moddata == undefined ->
{continue, Args#args.maxpkt, "", true};
callback_next_step(Args) when Args#args.packetrcv < 1 ->
{result, {{error,up}, timeout}};
callback_next_step(Args) ->
{result, parse_header(Args, Args#args.datarcv)}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment