linux - Changing IP address at runtime -


i creating tcp connection using function socket(), bind(), , listen().

our customers able define ip address of server @ runtime. there way of changing ip @ runtime or must done in bios?

thanks tips

i've changed ip address using ifaddrset(..) many times. call function within startup script before application running have no idea how calling function affects connected sockets.

but have @ functions provided iflib.h. i'm sure you'll find suits needs (ifaddradd(..) looks promising).


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -