added some test messages
avoid ambiguity, cast to a double
endianness can be bothersome *sometimes*
added timeouts to connects
remove early exit