Moved socket configuration to its own function
Moved creation & configuration of sockaddr_in to own function in TX, and added static variable last to function to send all heartbeats, reduces number of parameters, reduces amount of state in txmain, and makes code cleaner.
Moved TX to its own directory. TODO: Find a better way of managing cross-module header interdependencies. ../pc/pc.h isn't the neatest of solutions. Consider adding project base directory to include path, or making an include/ directory with API definition header files in.
File management, should have been done last time
Moved transmission of heartbeats into own file in TX
Moved configuration of TX via cmdStream into own file
Moved configuration of network structures to own file in TX
Moved definitions of TX flags out of tx.h, separated TX flags from protocol flags.