I''m trying to get the internet address of my computer for the current session (changes every time I connect to my ISP I know). I think I have to pass the SOCKADDR_IN structure to a certain function, but I can''t figure out which. I''m looking for either a Win32 or MFC solution. I''m using WinSock, not DirectPlay. I hope you understand my question. Please let me know if I need to make myself clearer. I know there are programs out there that can tell you your computer''s IP address, but I want to write my own so to speak. Thanks for your time.
What function returns the IP address of host machine (locally) with WinSock? <mt>
1 reply to this topic