I am trying the following code in a simplistic telnet server.
-----
constant pLogin = (program)"login.pike";
void telnet_connection(object oConnection) { telnet_class(oConnection); //New connection object pLogin oLogin = pLogin; oConnection->set_interface(oLogin); }
----
Continually I get returned: Attempt to call the NULL-value Unknown program: 0(c:/blah/sys/obj/inherit/login)
Basically alls I want it to do is connection, make a unique object for each connection, then move that connection to another object that asks questions and such ... anyone able to help me out?
On Wed, Mar 05, 2003 at 05:28:21PM -0800, Ryan Elgram wrote:
I am trying the following code in a simplistic telnet server. Continually I get returned: Attempt to call the NULL-value Unknown program: 0(c:/blah/sys/obj/inherit/login)
could you show the complete code for your script? (if it is short enough, post it here, otherwise can you make it available for download somewhere?)
greetings, martin.
pike-devel@lists.lysator.liu.se