Ok can't find old src so will do from scratch and see what happens * how will this one be different? - Will use session params to avoid excess lexical nesting - will have instance global structure to share information via session params - should use struct package here? - will develop incrementally with following steps (1) create Poe:Component::Proxy::TCP.pm with master session (might be the session of the p::c::server:TCP), http://www.PlatypiVentures.com/perl/modules/ModuleMaker.shtmlsessions getting the session args with instance data. (1.5) Add argument processing (2) add server part (3) add client parts (4) test with winproxy. Might this be possible from start? Three approaches to passing self into inner sessions created by TCP component (1) Use sessionargs to set initial heap (2) use args to pass self to start handler, then define start method to pick up self from args and set it in heap I think this won't work since args are passed here to client connect not start (3) use lexical scope to pass self to start handler in either 2 or 3 must use inline states to create start handler for per connection session (4) use $session->get_heap()->{self} to set self in named or aliased session ----------------- design of test stuff * Server - - takes zero or more line oriented requested per connection. - each request has form :text: - should we use asterisk? no, don't really understand it - sends :text: