network.send()
params: hndl (int), binary data (string).
return: amount of sent data (int)