diff --git a/lib/modules/Protocols.pmod/Line.pmod b/lib/modules/Protocols.pmod/Line.pmod index 78f9f36d966aa8eede482bcb6612250652298521..b4ecf36b39a19ccf4d2f52f56eb8ef98c4be0cff 100644 --- a/lib/modules/Protocols.pmod/Line.pmod +++ b/lib/modules/Protocols.pmod/Line.pmod @@ -1,5 +1,5 @@ /* - * $Id: Line.pmod,v 1.2 1998/09/12 12:53:14 grubba Exp $ + * $Id: Line.pmod,v 1.3 1998/09/28 01:17:07 per Exp $ * * Line-buffered protocol handling. * @@ -16,6 +16,12 @@ class simple static int timeout; // Idle time before timeout. static int timeout_time; // Time at which next timeout will occur. + static void send(string s) + { + send_q->put(s); + con->set_write_callback(write_callback); + } + static void do_timeout() { if (con) {