AnsweredAssumed Answered

how to set IP address to a computer using a C program?

Question asked by Pradeep M P on Mar 1, 2016


i have a hard code(C code) to print my computer IP address, i'll alter my IP with some requirements and finally i can print the updated IP on screen. now the problem is, i need to set the altered IP address to my computer. anyone please help me in setting a new IP address to a computer using C language as platform.

my hard code and its output is attached below.

Attachments

Outcomes