>I am looking of a WinApi function to get the IP address of the WS from VFP. Any one know how to do this?
The easiest way I know of to get this is using the WinSock automation object; the LocalIP property will give you the IP address of the current connection. The MSDN has detailed documentation on the PEMs of the WinSock control, and
it specifically states that it works with VFP.