MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Network output buffer



On MidgardMOO we've set up a workable web system. Problem is, when GETing a large file, the moo 
will often disconnect before the output buffer is empty.

The code for the output:
--
 for Line in (htext)
   notify(player, Line, 1);
   if ($command_utils:running_out_of_time())
     suspend(0);
   endif
 endfor
 suspend(1);
 boot_player(player);
--

So my question is, is there any way to make sure all output has actually been sent before 
disconnecting the player? If there's no builtin or somesuch, what data would I look at so I can 
write my own builtin?


-- 
 ____    ____  Martian                   (Wizard) Martian #141 @ MidgardMOO
|    \  /    | martian@elysian.net           telnet://moo.elysian.net:8888 
|  +-\\//-+  | awsmyth@mccoy.cs.twsu.edu         Martian #96675 @ LambdaMOO
|  |  \/  |  | themartian@aol.com           telnet://lambda.xerox.com:8888 
|__|artian|__|                          http://wwwhome.elysian.net/~martian


Follow-Ups:

Home | Subject Index | Thread Index