Added if_* POSIX API wrappers under socket.iface.
This commit is contained in:
parent
a402222464
commit
2107b9a650
5 changed files with 180 additions and 10 deletions
|
@ -34,6 +34,7 @@
|
|||
#include "tcp.h"
|
||||
#include "udp.h"
|
||||
#include "select.h"
|
||||
#include "if.h"
|
||||
|
||||
/*-------------------------------------------------------------------------*\
|
||||
* Internal function prototypes
|
||||
|
@ -54,6 +55,7 @@ static const luaL_Reg mod[] = {
|
|||
{"tcp", tcp_open},
|
||||
{"udp", udp_open},
|
||||
{"select", select_open},
|
||||
{"iface", if_open},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue