send_packets returns callback return value

instead of int success value from socket handle