luasocket/src/unixdgram.h

29 lines
762 B
C
Raw Permalink Normal View History

#ifndef UNIXDGRAM_H
#define UNIXDGRAM_H
2016-06-24 06:23:00 -07:00
/*=========================================================================*\
* DGRAM object
2016-06-24 06:23:00 -07:00
* LuaSocket toolkit
*
* The dgram.h module provides LuaSocket with support for DGRAM protocol
2016-06-24 06:23:00 -07:00
* (AF_INET, SOCK_DGRAM).
*
* Two classes are defined: connected and unconnected. DGRAM objects are
2016-06-24 06:23:00 -07:00
* 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"
#ifndef _WIN32
2019-02-27 20:02:01 -08:00
#pragma GCC visibility push(hidden)
#endif
2019-02-27 20:02:01 -08:00
int unixdgram_open(lua_State *L);
2016-06-24 06:23:00 -07:00
#ifndef _WIN32
2019-02-27 20:02:01 -08:00
#pragma GCC visibility pop
#endif
2019-02-27 20:02:01 -08:00
#endif /* UNIXDGRAM_H */