how to get an out argument of type char*

  • From: marcelo nicolet <marcelo.nicolet@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 18 Nov 2014 19:21:26 -0300

Suppose a function like recv( sock, buf, buflen, flags ), which puts the bytes from the socket buffers in the buf argument.


What kind of thing must be passed to such function?

Needless to say, I'm a newbie to LuaJIT, but it rocks!

TIA

Other related posts: