hi, My machine has 2 network cards, and I use network card which is not default card connect to server. I wanna get ip address from this network card, but gethostbyname() give me only default ip address card which I don't want. What function should I use instead? or you guy has an brilliant idea with this function? Thank you in advance.