in reply to Passing client information between multiple sockets...

So, you basically want to implement your own connection pool, and then have a daemon that services incoming queries through one of the available connections out of the pool. This looks like a job for POE. The unfortunate thing is that there's an intimidating amount of background required to start using POE. The fortunate thing is that it's really nowhere near as bad as you fear it's going to be after your first few minutes.
-- @/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/