ping.c

final_realms_fluffos_v1/lib/net/old/intermud/udp/ping.c · 203 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

#include <newudp.h>

void udp_ping(mapping data) {
    INETD->send_udp(data[NAME], ([
    REQUEST: REPLY,
    RECIPIENT: data[SENDER],
    ID: data[ID],
    DATA: LOCAL_NAME + " is alive.\n"
    ]) );
}

Site Stats

Snippets: 1791
Codebases: 571