mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-07-03 11:49:47 +02:00
21 lines
637 B
C
21 lines
637 B
C
|
#ifndef UNIXUDP_H
|
||
|
#define UNIXUDP_H
|
||
|
/*=========================================================================*\
|
||
|
* UDP object
|
||
|
* LuaSocket toolkit
|
||
|
*
|
||
|
* The udp.h module provides LuaSocket with support for UDP protocol
|
||
|
* (AF_INET, SOCK_DGRAM).
|
||
|
*
|
||
|
* Two classes are defined: connected and unconnected. UDP objects are
|
||
|
* originally unconnected. They can be "connected" to a given address
|
||
|
* with a call to the setpeername function. The same function can be used to
|
||
|
* break the connection.
|
||
|
\*=========================================================================*/
|
||
|
|
||
|
#include "unix.h"
|
||
|
|
||
|
int unixudp_open(lua_State *L);
|
||
|
|
||
|
#endif /* UNIXUDP_H */
|