IP address and software version

PLease post your code sofar - as it depends on your variables declared sofar

google sprintf() will probably help