Advertisement

Local IP Address

Started by May 18, 2000 10:03 AM
0 comments, last by ziplux 24 years, 7 months ago
Ok, I know this question has been posted before, but the search isn''t working and I need to know...how can I get the IP address of the local user from within my program? I''m using DirectPlay. Thanks in advance.
My Geekcode: "GCS d s: a14 C++$ P+(++) L+ E-- W+++$ K- w++(+++) O---- M-- Y-- PGP- t XR- tv+ b++ DI+(+++) D- G e* h!"Decode my geekcode!Geekcode.com
Visit our web site:Asylum Entertainment
You can use IDirectPlay4::EnumConnections() to enumerate the connections. Pass a user defined EnumConnectionsCallback function to handle the information passed by EnumConnections(). The address should be in the lpConnection variable passed to the EnumConnectionsCallback function.

This topic is closed to new replies.

Advertisement