This is only for a socket name unfortunately, not for an in-memory socket structure.
In reply to Re^3: Using Net::SSH2 with DBI by Corion in thread Using Net::SSH2 with DBI by diyaz