aboutsummaryrefslogtreecommitdiff
path: root/src/unixudp.h
diff options
context:
space:
mode:
authorDiego Nehab <diego.nehab@gmail.com>2016-07-22 14:06:30 -0300
committerGitHub <noreply@github.com>2016-07-22 14:06:30 -0300
commit316a9455b9cb4637fe6e62b20fbe05f5141fec54 (patch)
treee23e0e39cb27a23c68233758dd69ea9574d71ec8 /src/unixudp.h
parent30a64c585a444d3007976a4b4a1b8014d7797e04 (diff)
parent2205c2053c9bdd270c90f93d23fe44c9674bad3e (diff)
downloadluasocket-316a9455b9cb4637fe6e62b20fbe05f5141fec54.tar.gz
luasocket-316a9455b9cb4637fe6e62b20fbe05f5141fec54.tar.bz2
luasocket-316a9455b9cb4637fe6e62b20fbe05f5141fec54.zip
Merge pull request #181 from enginix/master
Add support for datagram unix domain sockets
Diffstat (limited to 'src/unixudp.h')
-rw-r--r--src/unixudp.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/unixudp.h b/src/unixudp.h
new file mode 100644
index 0000000..ccfdc07
--- /dev/null
+++ b/src/unixudp.h
@@ -0,0 +1,20 @@
1#ifndef UNIXUDP_H
2#define UNIXUDP_H
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
16#include "unix.h"
17
18int unixudp_open(lua_State *L);
19
20#endif /* UNIXUDP_H */