|
>Is there any way to send a 4-byte integer with the function send ()? Or some way to convert the lua string "1", for example, to the bytes corresponding to C-integer 1? You could use LHF lpack library [1] for that purpose. [1] http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lpack