24 lines
		
	
	
	
		
			381 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			381 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /***
 | |
|  * Networking and socket facilities, using LuaSocket.
 | |
|  *
 | |
|  * This module only provides the core, which
 | |
|  * provides support for the low-level TCP and UDP
 | |
|  * transport layers.
 | |
|  *
 | |
|  * @module socket
 | |
|  */
 | |
| 
 | |
| #include <lua.h>
 | |
| #include <lauxlib.h>
 | |
| 
 | |
| #include "lcallisto.h"
 | |
| 
 | |
| 
 | |
| int luaopen_socket_core(lua_State *L);
 | |
| 
 | |
| int
 | |
| luaopen_socket(lua_State *L)
 | |
| {
 | |
| 	luaopen_socket_core(L);
 | |
| 	return 1;
 | |
| }
 |