class Net::SSH::Test::Socket

def getpeername

socket was instantiated.
Returns a sockaddr struct for the port and host that were used when the
def getpeername
  ::Socket.sockaddr_in(port, host)
end