Module socket.oop
Pure LuaJIT bindings for Windows and Linux native socket libraries.
See also:
Info:
- Copyright: 2026
- Release: 0.0.0
- License: CC0 1.0 Universal (CC0 1.0) (Public Domain)
- Author: Herwin Bozet (NibblePoker)
Class Socket
| M.Socket:new () | Create a new Socket. |
| M.Socket:test () | Test function for LDoc 123 456 |
| M.Socket:__gc () | Automatically and cleanly close any open low-level socket or connection attached to this instance. |
Class Socket
Test123
???
- M.Socket:new ()
-
Create a new Socket.
Returns:
-
Socket
A new Socket instance.
- M.Socket:test ()
- Test function for LDoc 123 456
- M.Socket:__gc ()
- Automatically and cleanly close any open low-level socket or connection attached to this instance. Note: I won't handle the case where it is manually called before the class is re-used. (Use after free)