Citi interview question

how to write code for remote machine connection in Qtp?