MyCustomStruct
so that it can be sent without any extra work.ipconfig
command, then under your current adapter (ethernet/wifi/etc) look for the IPv4 Address entry like so:IPv4 Address. . . . . . . . . . . : 192.168.x.x
ifconfig
, ip addr
or 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 )