passing arguments to tcpserver classes

2007-06-13 Thread Eric Spaulding
Is there an easy way to pass arguments to a handler class that is used by the standard TCPServer? normally --> srvr =SocketServer.TCPServer(('',port_num), TCPHandlerClass) I'd like to be able to: srvr =SocketServer.TCPServer(('',port_num), TCPHandlerClass, (arg1,arg2)) And have arg1, arg2 avai

Re: passing arguments to tcpserver classes

2007-06-18 Thread Eric Spaulding
Great -- thanks! (and also to J. Ezequiel). Mark T wrote: "Eric Spaulding" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Is there an easy way to pass arguments to a handler class that is used by the standard TCPServer? normally --> srvr =SocketServer.TCP