create lib and try to send struct data over tcp