luasocket/src/unixudp.h

21 lines
637 B
C
Raw Normal View History

2016-06-24 15:23:00 +02:00
#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 */