MyCustomStructso that it can be sent without any extra work.
ipconfigcommand, then under your current adapter (ethernet/wifi/etc) look for the IPv4 Address entry like so:
IPv4 Address. . . . . . . . . . . : 192.168.x.x
ip addror a GUI like NetworkManager or wicd to get your LAN IP depending if you are running a desktop environment or going commando at the command line.
StartClient( BackupIP - BackupPort )