16 lines
380 B
PHP
16 lines
380 B
PHP
|
/**
|
||
|
* @brief Sends th buffer "ping to specified ip over udp.
|
||
|
*
|
||
|
* @param ip ip adress to send to.
|
||
|
* @return nothing.
|
||
|
*/
|
||
|
native void Rust_Send_Ping(const char[] ip);
|
||
|
/**
|
||
|
* @brief Spawns a udp socket reader thread
|
||
|
*
|
||
|
* @param ip ip adress of the server.
|
||
|
* @param port port of the server.
|
||
|
* @return nothing.
|
||
|
*/
|
||
|
native void Rust_Start_Manager(const char[] ip, int s_port);
|