- Notifications
You must be signed in to change notification settings - Fork80
Tags: msantos/procket
Tags
v0.9.9
0.9.9Bump version to release a new hex.pm package: the 0.9.8 hex packagemistakenly included compiled artifacts causing builds to fail:https://preview.hex.pm/preview/procket/0.9.8/show/c_src/libancillary.aReported inmsantos/gen_icmp#21Thanks@walkr !
0.7.0
Return number of bytes for partial writesThe write functions (sendto/4, sendmsg/5, write/2, writev/2) have had along standing bug where failure to write the complete buffer wassilently ignored.Return a tuple containing the number of bytes written if the completebuffer could not be sent. Writes can be continued using something like: write_exact(FD, Buf) -> case procket:write(FD, Buf) of ok -> ok; {ok, N} - > {_:N/bytes, Rest/binary} = Buf, write_exact(FD, Rest); Error -> Error end.Successful writes of the entire buffer still return 'ok'.
PreviousNext