aboutsummaryrefslogtreecommitdiff
path: root/src/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/udp.h')
-rw-r--r--src/udp.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/udp.h b/src/udp.h
index a6f17e2..699e31a 100644
--- a/src/udp.h
+++ b/src/udp.h
@@ -1,6 +1,19 @@
1#ifndef UDP_H 1#ifndef UDP_H
2#define UDP_H 2#define UDP_H
3 3/*=========================================================================*\
4* UDP object
5* LuaSocket toolkit
6*
7* The udp.h module provides LuaSocket with support for UDP protocol
8* (AF_INET, SOCK_DGRAM).
9*
10* Two classes are defined: connected and unconnected. UDP objects are
11* originally unconnected. They can be "connected" to a given address
12* with a call to the setpeername function. The same function can be used to
13* break the connection.
14*
15* RCS ID: $Id$
16\*=========================================================================*/
4#include <lua.h> 17#include <lua.h>
5 18
6#include "timeout.h" 19#include "timeout.h"
@@ -16,4 +29,4 @@ typedef t_udp *p_udp;
16 29
17void udp_open(lua_State *L); 30void udp_open(lua_State *L);
18 31
19#endif 32#endif /* UDP_H */