# \[c++\]New to cpp, Need to get IP

**URL:** <https://forum.kirupa.com/t/c-new-to-cpp-need-to-get-ip/220106>\
**Category:** programming\
**Created:** [March 22, 2007, 7:10pm UTC](https://forum.kirupa.com/t/c-new-to-cpp-need-to-get-ip/220106 "2007-03-22T19:10:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blazes](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@blazes](https://forum.kirupa.com/u/blazes)\
**Post date:** [March 22, 2007, 7:10pm UTC](https://forum.kirupa.com/t/c-new-to-cpp-need-to-get-ip/220106/1 "2007-03-22T19:10:08Z")

</div>

How would I go about getting the IP address of the machine running the program with c++? As I said i’m new and only know the basics.
