>> On 21 Jul 2004, at 08:25, Eriam Schaffter wrote: >> >>> Hi all >>> >>> First thing is I already checked the wiki at perl.org, but I still >>> cannot >>> figure out how I can disconnect a specific client for a tcp server >>> based >>> on Poe. >>> >>> has anyone ever faced the same issue, if so please let me know how you >>> reacted. >>> >>> thanks >>> >>> Eriam Schaffter >> >> >> Just make sure all references to the wheel of the client (or the socket >> of the client if you manage it yourself) are gone and it should >> disconnect. >> >> Arthur >> > > Hi and thanks for your fast reply > > Actually I use a POE::Component::Server::TCP and doing a delete > $heap->{wheel} won't do the job. > > Maybe other references that I didn't heard are still here. How do I check > references ? > > Thanks > > Eriam >
Damn Too bad I read the wrong spot... it was so simple .. sorry so when trying to disconnect a POE::Component::Server::TCP's client just type $kernel->yield( "shutdown" ) in the code. Thank you all Eriam