| 1 |
#ifndef UNIXDGRAM_H |
| 2 |
#define UNIXDGRAM_H |
| 3 |
/*=========================================================================*\ |
| 4 |
* DGRAM object |
| 5 |
* LuaSocket toolkit |
| 6 |
* |
| 7 |
* The dgram.h module provides LuaSocket with support for DGRAM protocol |
| 8 |
* (AF_INET, SOCK_DGRAM). |
| 9 |
* |
| 10 |
* Two classes are defined: connected and unconnected. DGRAM 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 |
|
| 18 |
int unixdgram_open(lua_State *L); |
| 19 |
|
| 20 |
#endif /* UNIXDGRAM_H */ |