|  Developer
Updated on November 14, 2021


  • Sends data to a remote side.
  • It’s a plugin’s author responsibility to make sure all data was sent (repeatedly calling this function till all data gets sent or, using I/O async notification, call this function when it exact has to be called).
  • params: hndl (int), binary data (string).
  • return: amount of sent data (int)
					require "network"

hndl = network.connect( {} )
conn = network.send( hndl, "hello_world" )