aboutsummaryrefslogtreecommitdiff
path: root/src/unixstream.h
diff options
context:
space:
mode:
authorenginix <wnd1024@gmail.com>2016-12-25 23:15:12 +0800
committerenginix <wnd1024@gmail.com>2016-12-25 23:33:10 +0800
commit3a33c37b9ce852d0b3531e82c6ffdb47bb937f0a (patch)
treee481f825991151cd164435faeb4b5e1b779526ae /src/unixstream.h
parentac3201d62024b397e8d6e3376822176d681811ec (diff)
downloadluasocket-3a33c37b9ce852d0b3531e82c6ffdb47bb937f0a.tar.gz
luasocket-3a33c37b9ce852d0b3531e82c6ffdb47bb937f0a.tar.bz2
luasocket-3a33c37b9ce852d0b3531e82c6ffdb47bb937f0a.zip
rename unix.tcp to unix.stream, unix.udp to unix.dgram
Diffstat (limited to 'src/unixstream.h')
-rw-r--r--src/unixstream.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/unixstream.h b/src/unixstream.h
new file mode 100644
index 0000000..ef1d071
--- /dev/null
+++ b/src/unixstream.h
@@ -0,0 +1,21 @@
1#ifndef UNIXSTREAM_H
2#define UNIXSTREAM_H
3/*=========================================================================*\
4* UNIX STREAM object
5* LuaSocket toolkit
6*
7* The unixstream.h module is basicly a glue that puts together modules buffer.h,
8* timeout.h socket.h and inet.h to provide the LuaSocket UNIX STREAM (AF_UNIX,
9* SOCK_STREAM) support.
10*
11* Three classes are defined: master, client and server. The master class is
12* a newly created unixstream object, that has not been bound or connected. Server
13* objects are unixstream objects bound to some local address. Client objects are
14* unixstream objects either connected to some address or returned by the accept
15* method of a server object.
16\*=========================================================================*/
17#include "unix.h"
18
19int unixstream_open(lua_State *L);
20
21#endif /* UNIXSTREAM_H */