fixed overwrite of platform defines
includes sprintf regardless of platform
specify connection ip