MOO-cows Mailing List Archive

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

logging in connections




>From E_MOO:'s $httpd:do_login_command()

set_connection_option(player, "hold-input", 1);
lines = {};
count = 1;
su = $string_utils;
while (line = read(player))
  lines = {@lines, line};
  if (count == 1 && length(su:words(line)) == 2)
    //special catch for HTTP/0.9
    break;
  endif
  count = count + 1;
endwhile


works just dandy for us.



Home | Subject Index | Thread Index