-fix socket leak in error handling branches

git-svn-id: https://gnunet.org/svn/gnunet@33718 140774ce-b5e7-0310-ab8b-a85725594a96
-check 'socket' call return value, handle failure

git-svn-id: https://gnunet.org/svn/gnunet@33719 140774ce-b5e7-0310-ab8b-a85725594a96
-handle case where sendsocket is still -1

git-svn-id: https://gnunet.org/svn/gnunet@33720 140774ce-b5e7-0310-ab8b-a85725594a96
-add missing break

git-svn-id: https://gnunet.org/svn/gnunet@33721 140774ce-b5e7-0310-ab8b-a85725594a96
-assert zone is non-null, simplify branching logic a bit

git-svn-id: https://gnunet.org/svn/gnunet@33722 140774ce-b5e7-0310-ab8b-a85725594a96
-bail out properly on error, fix leak

git-svn-id: https://gnunet.org/svn/gnunet@33723 140774ce-b5e7-0310-ab8b-a85725594a96
-fix channel data range to make -1 legal value

git-svn-id: https://gnunet.org/svn/gnunet@33724 140774ce-b5e7-0310-ab8b-a85725594a96
-check return value

git-svn-id: https://gnunet.org/svn/gnunet@33725 140774ce-b5e7-0310-ab8b-a85725594a96
-check return value

git-svn-id: https://gnunet.org/svn/gnunet@33726 140774ce-b5e7-0310-ab8b-a85725594a96
-mark return value as intentionally ignored

git-svn-id: https://gnunet.org/svn/gnunet@33727 140774ce-b5e7-0310-ab8b-a85725594a96
-check return value

git-svn-id: https://gnunet.org/svn/gnunet@33728 140774ce-b5e7-0310-ab8b-a85725594a96
-check return value

git-svn-id: https://gnunet.org/svn/gnunet@33729 140774ce-b5e7-0310-ab8b-a85725594a96