I have two Component::Server::TCP servers running (A and B). Server B needs to write to a connection on server A. A's connections have a unique md5 id assigned to their heap. B should located a connection on A based on it's unique id, then write some data to it.
I'm able to locate the server as follows: $server = $poe_kernel->alias_resolve('tcp_server'); I'd then planned to do something equivalent to the following: foreach my $conn ($server->getConnections()) { if ($conn->{heap}->{'uniqueID'} eq $requestedID) { $conn->{heap}->put('...write some data...'); break; } } But I'm unsure how to accompish this? Any enlightenment would be much appreciated :) - Kevin