Thread: set ip and mask in C for linux

  1. #1
    Registered User
    Join Date
    Dec 2016
    Posts
    7

    set ip and mask in C for linux

    anyway to use ifconfig etc to set ip and netmask in C? if not whats the easy way to do it?

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    This stackoverflow thread has some good answers to your question.
    Devoted my life to programming...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Password mask
    By nick753 in forum C++ Programming
    Replies: 2
    Last Post: 09-12-2010, 01:05 AM
  2. Union vs. Mask
    By Kennedy in forum C Programming
    Replies: 9
    Last Post: 11-17-2006, 03:14 PM
  3. bitblt mask
    By w4ck0z in forum Windows Programming
    Replies: 1
    Last Post: 01-04-2005, 02:23 PM
  4. bit shifting a mask
    By detfella in forum C++ Programming
    Replies: 1
    Last Post: 02-25-2004, 05:13 PM
  5. Mask
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 02-23-2002, 03:16 AM

Tags for this Thread