Nintendo DS Lite Wifi Library

Anyone know about the DSwifi Lib? In particular how to connect to an IP, There is an example to connect to a host name but i would like to create a socket direct to my ethernet shield, the arduino side of it is done but i cant figure out how to get an IP from a hostname