Added gethostname.
Cleaned up TODO. Moved luasocket specific stuff from auxiliar.c to luasocket.c
This commit is contained in:
parent
fbb42b80cb
commit
3f1712ed48
8 changed files with 145 additions and 106 deletions
|
@ -417,7 +417,7 @@ static int meth_setsockname(lua_State *L)
|
|||
/*-------------------------------------------------------------------------*\
|
||||
* Creates a master udp object
|
||||
\*-------------------------------------------------------------------------*/
|
||||
int global_create(lua_State *L)
|
||||
static int global_create(lua_State *L)
|
||||
{
|
||||
t_sock sock;
|
||||
const char *err = inet_trycreate(&sock, SOCK_DGRAM);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue