send_startup_reply.h

ds2.1.1/lib/secure/daemon/i3router/send_startup_reply.h · 579 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

// This file written completely by Tim Johnson (Tim@TimMUD)

static void send_startup_reply(string mudname){
    // This packet will be delivered to a mud for three conditions:
    //  in response to a startup-req packet,
    //  when the router wishes the mud to connect to a different router,
    //  or when the set of routers change for some reason.
    if(!connected_muds[mudname]) return; // This shouldn't be needed.
    write_data(connected_muds[mudname], ({
	"startup-reply",
	5,
	router_name,
	0,
	mudname,
	0,
	router_list,
	mudinfo[mudname]["password"]
      }) );
}

Site Stats

Snippets: 1791
Codebases: 571