3 /*=========================================================================*\
7 * The tcp.h module is basicly a glue that puts together modules buffer.h,
8 * timeout.h socket.h and inet.h to provide the LuaSocket TCP (AF_INET,
9 * SOCK_STREAM) support.
11 * Three classes are defined: master, client and server. The master class is
12 * a newly created tcp object, that has not been bound or connected. Server
13 * objects are tcp objects bound to some local address. Client objects are
14 * tcp objects either connected to some address or returned by the accept
15 * method of a server object.
16 \*=========================================================================*/
23 typedef struct t_tcp_
{
33 int tcp_open(lua_State
*L
);