08-03-2007, 09:24 AM
Read about it in the MSDN library on the internet. I think it must be str variable, and the function populates it with your computer name. At first allocate namelen bytes.
Or go to a website that shows your computer IP. For example http://www.whatismyip.com/
Or go to a website that shows your computer IP. For example http://www.whatismyip.com/
