ping.c
./lib/secure/udp_cmd_/ping.c · 248 B
From the archive h7v3.0a.tar.gz
Download the archive « Back to the archive contents
#include <master.cfg>
#include <udp.h>
void ping(string mud) {
if(INETD->send_udp(mud, ([
REQUEST: "ping",
SENDER: (string)this_player()->query_name(1),
]), 1))
write("Ping Request Sent.\n");
}