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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

741 Views
pradeepmp
Contributor II


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.

Tags (1)
0 Kudos
0 Replies