C Program - Gets/Prints IP Address

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • animeprogrammer
    New Member
    • Jan 2014
    • 13

    #1

    C Program - Gets/Prints IP Address

    Hello guys,

    Is there a way/code to get my computer's IP address and prints it without using ipconfig


    Example:
    My computer's IP address is: 198.110.69, it will print an output: 198.110.69 or 19811069 (without dots wiould be better though)

    Thanks in Advance,
    Regards,
    AnimeProgrammer *brofist
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2


    This blog has good info for C coding.

    Comment

    • animeprogrammer
      New Member
      • Jan 2014
      • 13

      #3
      thanks i'll look at it.

      Comment

      Working...