startup.c
final_realms_fluffos_v1/lib/net/old/udp/startup.c · 424 B
From the archive final_realms_fluffos_v1.zip
Download the archive « Back to the archive contents
#include "udp.h"
/*
* We got a startup message.
*/
void incoming_request(mapping info) {
if (stringp(info["NAME"])) {
/*
* Tell us about a ping answer. We then stick them in our
* known muds list. Also send a ping query to the mud so it knows about us.
*/
PING_A->incoming_request(info);
PING_Q->incoming_request(info);
}
} /* incoming_request() */
void create() {
seteuid(getuid());
} /* create() */