2021-01-02 13:10:00 -05:00
|
|
|
#pragma once
|
|
|
|
|
2024-02-20 21:41:37 -05:00
|
|
|
/**
|
|
|
|
** \defgroup socket_js Socket Interface
|
|
|
|
** Exposes network sockets to script.
|
|
|
|
** @{
|
|
|
|
*/
|
|
|
|
|
2021-01-02 13:10:00 -05:00
|
|
|
#include "quickjs.h"
|
|
|
|
|
2021-10-24 11:46:30 -04:00
|
|
|
JSValue tf_socket_register(JSContext* context);
|
2021-01-02 13:10:00 -05:00
|
|
|
int tf_socket_get_count();
|
|
|
|
int tf_socket_get_open_count();
|
2024-02-20 21:41:37 -05:00
|
|
|
|
|
|
|
/** @} */
|